Parcourir la source

Fix oc group get

Fixes #8792
camabeh il y a 6 ans
Parent
commit
d66f04c7f3
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      roles/lib_openshift/library/oc_group.py

+ 1 - 1
roles/lib_openshift/library/oc_group.py

@@ -1522,7 +1522,7 @@ class OCGroup(OpenShiftCLI):
         result = self._get(self.kind, self.config.name)
         if result['returncode'] == 0:
             self.group = Group(content=result['results'][0])
-        elif 'groups \"{}\" not found'.format(self.config.name) in result['stderr']:
+        elif 'groups.user.openshift.io \"{}\" not found'.format(self.config.name) in result['stderr']:
             result['returncode'] = 0
             result['results'] = [{}]