Skip to content

Commit

Permalink
devv: format
Browse files Browse the repository at this point in the history
  • Loading branch information
sunsingerus committed Oct 28, 2024
1 parent b55ab3c commit ddad583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/map.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ func MapGetSortedKeysAndValues(m map[string]string) (keys []string, values []str
return keys, values
}

func MapMigrate(cur, new, old map[string]string)map[string]string {
func MapMigrate(cur, new, old map[string]string) map[string]string {
removed := MapGetSortedKeys(SubtractStringMaps(CopyMap(old), new))
return MapDeleteKeys(MergeStringMapsPreserve(new, cur), removed...)
}

0 comments on commit ddad583

Please sign in to comment.