Fix for flushing progress getting

Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
This commit is contained in:
Slawomir Jankowski 2020-02-11 14:39:38 +01:00
parent 4bc64e6471
commit 1c988e311e

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)