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"
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 {