There was an error while loading. Please reload this page.
1 parent 25ee398 commit c298888Copy full SHA for c298888
test/e2e_kubeadm/nodes_test.go
@@ -52,14 +52,12 @@ var _ = Describe("nodes", func() {
52
List(ctx, metav1.ListOptions{})
53
framework.ExpectNoError(err, "error reading nodes")
54
55
-var nodeLocalCRISocketEnabled bool
+nodeLocalCRISocketEnabled := true
56
cc := getClusterConfiguration(f.ClientSet)
57
if _, ok := cc["featureGates"]; ok {
58
fgCC := cc["featureGates"].(map[interface{}]interface{})
59
if fg, ok := fgCC["NodeLocalCRISocket"]; ok {
60
nodeLocalCRISocketEnabled = fg.(bool)
61
-} else {
62
-nodeLocalCRISocketEnabled = true
63
}
64
65
0 commit comments