Skip to content

Commit

Permalink
[chore] [internal/common] Remove unused function (#17897)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitryax authored Jan 21, 2023
1 parent c12cb6f commit 4e6d2a9
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions internal/common/maps/maps.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,6 @@ func MergeStringMaps(maps ...map[string]string) map[string]string {
return ret
}

// CloneRawMap makes a shallow copy of a map[string]interface{}.
func CloneRawMap(m map[string]interface{}) map[string]interface{} {
m2 := make(map[string]interface{}, len(m))
for k, v := range m {
m2[k] = v
}
return m2
}

// CloneStringMap makes a shallow copy of a map[string]string.
func CloneStringMap(m map[string]string) map[string]string {
m2 := make(map[string]string, len(m))
Expand Down

0 comments on commit 4e6d2a9

Please sign in to comment.