mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Merge pull request #14174 from tmrts/refactor/downwardAPItest
Auto commit by PR queue bot
This commit is contained in:
commit
3762d60a44
@ -33,12 +33,12 @@ import (
|
||||
|
||||
const basePath = "/tmp/fake"
|
||||
|
||||
func formatMap(m map[string]string) string {
|
||||
var l string
|
||||
func formatMap(m map[string]string) (fmtstr string) {
|
||||
for key, value := range m {
|
||||
l += key + "=" + fmt.Sprintf("%q", value) + "\n"
|
||||
fmtstr += fmt.Sprintf("%v=%q\n", key, value)
|
||||
}
|
||||
return l
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
func newTestHost(t *testing.T, client client.Interface) volume.VolumeHost {
|
||||
|
Loading…
Reference in New Issue
Block a user