Skip to content

Commit

Permalink
fix lint err
Browse files Browse the repository at this point in the history
Signed-off-by: Pranav Singh <pranavsingh02@hotmail.com>
  • Loading branch information
theBeginner86 committed Jun 29, 2022
1 parent 511fd1d commit c423f15
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions utils/manifests/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,14 +193,14 @@ func deleteFile(path string) error {
return nil
}

// This helps in formating the leftover fields using a pre-defined dictionary
// This helps in formating the leftover fields using a pre-defined dictionary
func useDictionary(input string) string {
dic := map[interface{}]interface{} { // includes Whitelist words
dict := map[interface{}]interface{}{ // includes Whitelist words
"Mesh Sync": "MeshSync",
}
for comp := range dic {
for comp := range dict {
if comp == input {
return dic[comp].(string)
return dict[comp].(string)
}
}
return input
Expand Down

0 comments on commit c423f15

Please sign in to comment.