Skip to content

Commit 59b2d6d

Browse files
committed
call add_core with correct keyword argument
Fix issue #1698 Signed-off-by: Liyi Meng <[email protected]>
1 parent 9f3e7b7 commit 59b2d6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/opencas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ def wait_for_startup(timeout=300, interval=5):
855855
def start_device(dev):
856856
if os.path.exists(dev.device):
857857
if type(dev) is cas_config.core_config:
858-
add_core(dev, try_add=True)
858+
add_core(dev, attach=True)
859859
elif type(dev) is cas_config.cache_config:
860860
start_cache(dev, load=True)
861861

0 commit comments

Comments
 (0)