Skip to content

Commit

Permalink
Merge pull request #1779 from anotherchrisberry/netflix-overrides-bad…
Browse files Browse the repository at this point in the history
…-recursion

graph perf fix; correct netflix override template
  • Loading branch information
anotherchrisberry committed Dec 4, 2015
2 parents 1f60e2b + 40dc430 commit 63e8f70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ module.exports = angular.module('spinnaker.core.pipeline.config.graph.directive'
node.children = _.uniq(node.children);
node.parents = _.uniq(node.parents);
node.leaf = node.children.length === 0;
});
nodes.forEach((node) => {
node.lastPhase = getLastPhase(node);
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = angular
{ key: 'pipelineConfigActions', value: require('./pipelineConfigActions.html') },
{ key: 'spinnakerHeader', value: require('./spinnakerHeader.html') },
{ key: 'aws.serverGroup.securityGroups', value: require('../serverGroup/awsServerGroupSecurityGroups.html') },
{ key: 'aws.serverGroup.capacity', value: require('../serverGroup/awsServerGroupSecurityGroups.html') },
{ key: 'aws.serverGroup.capacity', value: require('../serverGroup/capacity/awsServerGroupCapacity.html') },
{ key: 'aws.resize.modal', value: require('../serverGroup/resize/awsResizeServerGroup.html') },
];
templates.forEach((template) => overrideRegistry.overrideTemplate(template.key, template.value));
Expand Down

0 comments on commit 63e8f70

Please sign in to comment.