@@ -1748,6 +1748,9 @@ class OCPVC(OpenShiftCLI):
elif '\"%s\" not found' % self.config.name in result['stderr']:
result['returncode'] = 0
result['results'] = [{}]
+ elif 'namespaces \"%s\" not found' % self.config.namespace in result['stderr']:
+ result['returncode'] = 0
+ result['results'] = [{}]
return result
@@ -1706,6 +1706,9 @@ class OCRoute(OpenShiftCLI):
elif 'routes \"%s\" not found' % self.config.name in result['stderr']:
@@ -1777,6 +1777,9 @@ class OCService(OpenShiftCLI):
elif 'services \"%s\" not found' % self.config.name in result['stderr']:
result['clusterip'] = ''
+ result['clusterip'] = ''
@@ -1619,6 +1619,9 @@ class OCServiceAccount(OpenShiftCLI):
@@ -52,6 +52,9 @@ class OCPVC(OpenShiftCLI):
@@ -42,6 +42,9 @@ class OCRoute(OpenShiftCLI):
@@ -60,6 +60,9 @@ class OCService(OpenShiftCLI):
@@ -31,6 +31,9 @@ class OCServiceAccount(OpenShiftCLI):