Skip to content

Commit

Permalink
Fix function signature
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannDickson authored and ekini committed Sep 12, 2022
1 parent 8029a11 commit b6fc3b4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ssm/transformations/trim.go
Expand Up @@ -4,7 +4,7 @@ import (
"strings"
)

func TrimKeys(parameters map[string]string, trim string, startsWith string) error {
func TrimKeys(parameters map[string]string, trim string, startsWith string) {

for key, value := range parameters {
if strings.HasPrefix(key, startsWith) {
Expand All @@ -13,6 +13,4 @@ func TrimKeys(parameters map[string]string, trim string, startsWith string) erro
}
}

return nil

}

0 comments on commit b6fc3b4

Please sign in to comment.