Skip to content

Commit

Permalink
fix(kubernetes): fix template loading (#4256)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpeach authored Oct 12, 2017
1 parent fe3e9f0 commit baadbb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/scripts/modules/kubernetes/v1/kubernetes.v1.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { KUBERNETES_HELP } from '../help/kubernetes.help';
import '../logo/kubernetes.logo.less';

// load all templates into the $templateCache
var templates = require.context('./', true, /\.html$/);
var templates = require.context('kubernetes', true, /\.html$/);
templates.keys().forEach(function(key) {
templates(key);
});
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/modules/kubernetes/v2/kubernetes.v2.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { KUBERNETES_MANIFEST_ENTRY } from './manifest/wizard/manifestEntry.compo
import { KUBERNETES_V2_SERVER_GROUP_TRANSFORMER } from './serverGroup/serverGroupTransformer.service';

// load all templates into the $templateCache
const templates = require.context('./', true, /\.html$/);
const templates = require.context('kubernetes', true, /\.html$/);
templates.keys().forEach(function (key) {
templates(key);
});
Expand Down

0 comments on commit baadbb6

Please sign in to comment.