From d60f76917929f3cc7c3044ad6f05c5e7dda62eef Mon Sep 17 00:00:00 2001 From: Chuang Ke Date: Tue, 30 Aug 2022 14:32:31 +0800 Subject: [PATCH] config_tools: enable RDT and CDP after launch scenario Before, the logic automatically sets RDT as y if CDP is y. when the user imports a scenario, the CDP is y and RDT is y, the view will set CDP as y and RDT as y. After fixing, the logic won't set RDT as y if CDP is y, which means the RDT won't be changed no matter if CDP is y or n(only when import scenario) . Tracked-On: #8087 Signed-off-by: Chuang-Ke Reviewed-by: Junjie Mao --- .../configurator/packages/configurator/src/lib/acrn.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/config_tools/configurator/packages/configurator/src/lib/acrn.ts b/misc/config_tools/configurator/packages/configurator/src/lib/acrn.ts index 19f29fab0..ef7f888ff 100644 --- a/misc/config_tools/configurator/packages/configurator/src/lib/acrn.ts +++ b/misc/config_tools/configurator/packages/configurator/src/lib/acrn.ts @@ -369,7 +369,7 @@ class CAT { this.switches.VCAT_ENABLED = false } } - } else if (this.switches.CDP_ENABLED || this.switches.VCAT_ENABLED) { + } else if (this.switches.VCAT_ENABLED) { if (!this.switches.RDT_ENABLED) { this.switches.RDT_ENABLED = true }