generated: run refactor

This commit is contained in:
Mike Danese
2020-02-08 12:30:21 -05:00
parent 6c274ea72d
commit 25651408ae
399 changed files with 1560 additions and 1507 deletions

View File

@@ -82,7 +82,7 @@ func SpreadServiceOrFail(f *framework.Framework, replicaCount int, image string)
}},
},
}
_, err := f.ClientSet.CoreV1().Services(f.Namespace.Name).Create(context.TODO(), serviceSpec)
_, err := f.ClientSet.CoreV1().Services(f.Namespace.Name).Create(context.TODO(), serviceSpec, metav1.CreateOptions{})
framework.ExpectNoError(err)
// Now create some pods behind the service
@@ -207,7 +207,7 @@ func SpreadRCOrFail(f *framework.Framework, replicaCount int32, image string, ar
},
},
},
})
}, metav1.CreateOptions{})
framework.ExpectNoError(err)
// Cleanup the replication controller when we are done.
defer func() {