Update fieldpath.go

This commit is contained in:
timchenxiaoyu 2016-11-24 11:37:30 +08:00 committed by GitHub
parent 03e060242d
commit d25e30433d

View File

@ -27,7 +27,7 @@ import (
"k8s.io/kubernetes/pkg/api/resource"
)
// formatMap formats map[string]string to a string.
// FormatMap formats map[string]string to a string.
func FormatMap(m map[string]string) (fmtStr string) {
for key, value := range m {
fmtStr += fmt.Sprintf("%v=%q\n", key, value)