diff --git a/internal/util/util.go b/internal/util/util.go index 4da896020..a7da4ae7e 100644 --- a/internal/util/util.go +++ b/internal/util/util.go @@ -54,7 +54,7 @@ func OrderedValuesChecksum(values chartutil.Values) string { // of the order of the keys in the values file. func SortMapSlice(ms goyaml.MapSlice) { sort.Slice(ms, func(i, j int) bool { - return fmt.Sprintf("%T.%v", ms[i].Key, ms[i].Key) < fmt.Sprintf("%T.%v", ms[j].Key, ms[j].Key) + return fmt.Sprint(ms[i].Key) < fmt.Sprint(ms[j].Key) }) for _, item := range ms { if nestedMS, ok := item.Value.(goyaml.MapSlice); ok {