Skip to content

Commit

Permalink
Don't use new as an identifier
Browse files Browse the repository at this point in the history
Signed-off-by: Will Beason <willbeason@google.com>
  • Loading branch information
Will Beason committed Sep 27, 2021
1 parent 8c96501 commit d61e954
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/build/helmify/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ func (ks *kindSet) Write() error {
}

func doReplacements(obj string) string {
for old, new := range replacements {
obj = strings.ReplaceAll(obj, old, new)
for old, replacement := range replacements {
obj = strings.ReplaceAll(obj, old, replacement)
}
return obj
}
Expand Down

0 comments on commit d61e954

Please sign in to comment.