From 2be068af112dd65f4d230012883d1bd9b53f72d8 Mon Sep 17 00:00:00 2001 From: Liyi Meng Date: Tue, 18 Nov 2025 20:58:32 +0100 Subject: [PATCH] call add_core with correct keyword argument Fix issue #1698 Signed-off-by: Liyi Meng --- utils/opencas.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/opencas.py b/utils/opencas.py index b4d189729..a887cc752 100644 --- a/utils/opencas.py +++ b/utils/opencas.py @@ -1,9 +1,9 @@ # # Copyright(c) 2012-2021 Intel Corporation # Copyright(c) 2025 Huawei Technologies Co., Ltd. +# Copyright(c) 2025 Liyi Meng # SPDX-License-Identifier: BSD-3-Clause # - import subprocess import csv import re @@ -855,7 +855,7 @@ def wait_for_startup(timeout=300, interval=5): def start_device(dev): if os.path.exists(dev.device): if type(dev) is cas_config.core_config: - add_core(dev, try_add=True) + add_core(dev, attach=True) elif type(dev) is cas_config.cache_config: start_cache(dev, load=True)