Skip to content

Commit

Permalink
fix: Change the agent type name to not include the account name since…
Browse files Browse the repository at this point in the history
… this would generate LOTS of tables and cause problems long term (#6158) (#6164)

The standard in spinnaker is to use a single table for a cache agent TYPE without the account name,

(cherry picked from commit 40bd706)

Co-authored-by: ovidiupopa07 <[email protected]>
  • Loading branch information
mergify[bot] and ovidiupopa07 authored Feb 27, 2024
1 parent 66c27ae commit 06fa412
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ private List<InstanceTypeInfo> getInstanceTypes(AmazonEC2 ec2) {

@Override
public String getAgentType() {
return String.format("%s/%s/%s", account.getName(), region, getClass().getSimpleName());
return getClass().getSimpleName() + "/" + region;
}

@Override
Expand Down

0 comments on commit 06fa412

Please sign in to comment.