mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +00:00
commit
ee1d426a42
@ -229,8 +229,9 @@ func TestEtcdCreatePodFailsWithoutNamespace(t *testing.T) {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
if err == nil || !strings.Contains(err.Error(), "namespace") {
|
// Accept "namespace" or "Namespace".
|
||||||
t.Fatalf("expected error that namespace was missing from context")
|
if err == nil || !strings.Contains(err.Error(), "amespace") {
|
||||||
|
t.Fatalf("expected error that namespace was missing from context, got: %v", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user