mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Update fieldpath.go
This commit is contained in:
parent
03e060242d
commit
d25e30433d
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user