Update gofmt for go1.11

This commit is contained in:
Christoph Blecker
2018-10-05 12:59:38 -07:00
parent e2893bbc94
commit 97b2992dc1
209 changed files with 1029 additions and 1029 deletions

View File

@@ -104,8 +104,8 @@ func TestDefaultFlags(t *testing.T) {
RemoteKubeConfigFileOptional: true,
AlwaysAllowPaths: []string{"/healthz"}, // note: this does not match /healthz/ or
},
Kubeconfig: "",
Master: "",
Kubeconfig: "",
Master: "",
NodeStatusUpdateFrequency: metav1.Duration{Duration: 5 * time.Minute},
}
if !reflect.DeepEqual(expected, s) {
@@ -222,8 +222,8 @@ func TestAddFlags(t *testing.T) {
RemoteKubeConfigFileOptional: true,
AlwaysAllowPaths: []string{"/healthz"}, // note: this does not match /healthz/ or
},
Kubeconfig: "/kubeconfig",
Master: "192.168.4.20",
Kubeconfig: "/kubeconfig",
Master: "192.168.4.20",
NodeStatusUpdateFrequency: metav1.Duration{Duration: 10 * time.Minute},
}
if !reflect.DeepEqual(expected, s) {