mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-20 17:38:50 +00:00
Update fieldpath.go
This commit is contained in:
@@ -27,7 +27,7 @@ import (
|
|||||||
"k8s.io/kubernetes/pkg/api/resource"
|
"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) {
|
func FormatMap(m map[string]string) (fmtStr string) {
|
||||||
for key, value := range m {
|
for key, value := range m {
|
||||||
fmtStr += fmt.Sprintf("%v=%q\n", key, value)
|
fmtStr += fmt.Sprintf("%v=%q\n", key, value)
|
||||||
|
Reference in New Issue
Block a user