We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d75ea99 commit 6ceb4d9Copy full SHA for 6ceb4d9
test/extended/networking/util.go
@@ -312,6 +312,9 @@ func makeNamespaceScheduleToAllNodes(f *e2e.Framework) {
312
for {
313
ns, err := f.ClientSet.CoreV1().Namespaces().Get(f.Namespace.Name, metav1.GetOptions{})
314
expectNoError(err)
315
+ if ns.Annotations == nil {
316
+ ns.Annotations = make(map[string]string)
317
+ }
318
ns.Annotations["openshift.io/node-selector"] = ""
319
_, err = f.ClientSet.CoreV1().Namespaces().Update(ns)
320
if err == nil {
0 commit comments