Merge pull request #14174 from tmrts/refactor/downwardAPItest

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot 2015-09-18 11:06:34 -07:00
commit 3762d60a44

View File

@ -33,12 +33,12 @@ import (
const basePath = "/tmp/fake" const basePath = "/tmp/fake"
func formatMap(m map[string]string) string { func formatMap(m map[string]string) (fmtstr string) {
var l string
for key, value := range m { 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 { func newTestHost(t *testing.T, client client.Interface) volume.VolumeHost {