mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Merge pull request #37424 from timchenxiaoyu/master
Automatic merge from submit-queue (batch tested with PRs 37701, 36702, 37145, 37424, 38261) function name change function name change
This commit is contained in:
commit
265fcf5df0
@ -28,7 +28,7 @@ import (
|
|||||||
"k8s.io/kubernetes/pkg/api/v1"
|
"k8s.io/kubernetes/pkg/api/v1"
|
||||||
)
|
)
|
||||||
|
|
||||||
// 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