Minor improvements in opencas.py/casctl

Signed-off-by: Jan Musial <jan.musial@intel.com>
This commit is contained in:
Jan Musial
2022-02-08 11:14:04 +01:00
parent 9da912e485
commit a187813d13
2 changed files with 13 additions and 13 deletions

View File

@@ -44,7 +44,7 @@ def start():
for cache in config.caches.values():
try:
opencas.start_cache(cache, True)
opencas.start_cache(cache, load=True)
except opencas.casadm.CasadmError as e:
eprint(
"Unable to load cache {0} ({1}). Reason:\n{2}".format(
@@ -116,7 +116,7 @@ def init(force):
for cache in config.caches.values():
try:
opencas.start_cache(cache, False, force)
opencas.start_cache(cache, load=False, force=force)
except opencas.casadm.CasadmError as e:
eprint(
"Unable to start cache {0} ({1}). Reason:\n{2}".format(