mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-15 22:09:06 +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:
@@ -415,6 +415,7 @@ export default {
|
||||
if (errorType === 'semantic') {
|
||||
formErrors[vmid].push(error)
|
||||
}
|
||||
formErrors[vmid] = _.uniq(formErrors[vmid])
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user