Skip to content

Commit

Permalink
Merge pull request #622 from sotoon/fix-typo-in-utils
Browse files Browse the repository at this point in the history
Fix MergeAnnotations function
  • Loading branch information
ese authored Aug 9, 2023
2 parents 32e2d92 + 77adcc9 commit c04073a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions operator/redisfailover/util/label.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ func MergeLabels(allLabels ...map[string]string) map[string]string {
func MergeAnnotations(allMergeAnnotations ...map[string]string) map[string]string {
res := map[string]string{}

for _, labels := range allMergeAnnotations {
for k, v := range labels {
for _, annotations := range allMergeAnnotations {
for k, v := range annotations {
res[k] = v
}
}
Expand Down

0 comments on commit c04073a

Please sign in to comment.