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 <chuangx.ke@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
parent
b09f617d85
commit
bcea2a0c30
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue