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)

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

(cherry picked from commit 40bd706)
  • Loading branch information
ovidiupopa07 authored and mergify[bot] committed Feb 27, 2024
1 parent 962724c commit fb2c656
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 fb2c656

Please sign in to comment.