Skip to content

Commit

Permalink
fix(amazon): Instance details is not displayed (#8416)
Browse files Browse the repository at this point in the history
Instance details is not visible when Spinnaker application deploys AWS and
Kubernetes objects

Co-authored-by: Adrien Gentil <adrien.gentil@adevinta.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
3 people committed Jul 22, 2020
1 parent d0a0e65 commit b1967d4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ module(AMAZON_INSTANCE_DETAILS_INSTANCE_DETAILS_CONTROLLER, [

if (!app.isStandalone) {
// augment with target group healthcheck data
const targetGroups = getAllTargetGroups(app.loadBalancers.data);
const targetGroups = getAllTargetGroups(app.loadBalancers.data.filter(function(loadBalancer) {
return loadBalancer.cloudProvider === 'aws';
}));
applyHealthCheckInfoToTargetGroups(displayableMetrics, targetGroups, instance.account);
}

Expand Down

1 comment on commit b1967d4

@diasjorge
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!! I'll test this fix but I had an open issue for that spinnaker/spinnaker#5929

Please sign in to comment.