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
commit 6201bb8fd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -228,7 +228,7 @@ def get_flushing_progress(cache_id: int, core_id: int = None):
except Exception:
break
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)