mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-05 18:25:05 +00:00
[config_tool] Duplicate error for vUART connection
improve the translateError function by adding a condition: if there are errors describing the same error and same paths, remove the repeat one. Tracked-On: #8117 Signed-off-by: Chuang-Ke <chuangx.ke@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
parent
7a99e1b1d8
commit
cafb562597
@ -415,6 +415,7 @@ export default {
|
||||
if (errorType === 'semantic') {
|
||||
formErrors[vmid].push(error)
|
||||
}
|
||||
formErrors[vmid] = _.uniq(formErrors[vmid])
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user