Skip to content

Commit

Permalink
fix(aws): Fixing launch template agent name getting truncated (#4553)
Browse files Browse the repository at this point in the history
- using simple class name vs the toString of Class (oops)

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
jeyrschabu and mergify[bot] committed Apr 28, 2020
1 parent cf70b33 commit 0cc8167
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ private List<LaunchTemplateVersion> getLaunchTemplateVersions(

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

@Override
Expand Down

0 comments on commit 0cc8167

Please sign in to comment.