Merge pull request #334 from Ostrokrzew/fix

Fix for flushing progress getting
This commit is contained in:
Michał Mielewczyk
2020-02-11 16:27:20 +01:00
committed by GitHub

View File

@@ -228,7 +228,7 @@ def get_flushing_progress(cache_id: int, core_id: int = None):
except Exception: except Exception:
break break
raise CmdException(f"There is no flushing progress in casadm list output. (cache {cache_id}" raise CmdException(f"There is no flushing progress in casadm list output. (cache {cache_id}"
f"{' core ' + core_id if core_id is not None else ''})", f"{' core ' + str(core_id) if core_id is not None else ''})",
casadm_output) casadm_output)