object: allow new status endpoints to be null
For the upgrade case, allow the status endpoints to have null slices. Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
This commit is contained in:
4 files changed
+7
-1
No files matched your search
@@ -258,7 +258,7 @@ func (k8sh *K8sHelper) DeleteResource(args ...string) error {
|
||||
func (k8sh *K8sHelper) WaitForCustomResourceDeletion(namespace, name string, checkerFunc func() error) error {
|
||||
|
||||
// wait for the operator to finalize and delete the CRD
|
||||
for i := 0; i < 60; i++ {
|
||||
for i := 0; i < 90; i++ {
|
||||
err := checkerFunc()
|
||||
if err == nil {
|
||||
logger.Infof("custom resource %q in namespace %q still exists", name, namespace)
|
||||
|
||||
Reference in new issue
Block a user