Skip to content

Commit

Permalink
Fix check uninstall osd cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
kornys authored and diegolovison committed Oct 25, 2023
1 parent 3cad149 commit 885dbe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ods_ci/utils/scripts/ocm/ocm.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def ocm_describe(self, filter=""):
if filter != "":
cmd += " " + filter
ret = execute_command(cmd)
if ret is None:
if ret is None or "Error: Can't retrieve cluster for key" in ret:
log.info("ocm describe for cluster " "{} failed".format(self.cluster_name))
return None
return ret
Expand Down

0 comments on commit 885dbe9

Please sign in to comment.