config_tools: add two spaces for error messgae.

add two spacings in alert sentence.

Tracked-On: #7915
Signed-off-by: Chuang-Ke <chuangx.ke@intel.com>
Reviewed-by:Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
chuangxke 2022-07-12 17:08:19 +08:00 committed by acrnsi-robot
parent 6ced747e10
commit a3449c4893
1 changed files with 2 additions and 2 deletions

View File

@ -354,8 +354,8 @@ export default {
console.log(vmNameArr) console.log(vmNameArr)
for (let i = 0; i < vmNameArr.length - 1; i++) { for (let i = 0; i < vmNameArr.length - 1; i++) {
if (vmNameArr[i] === vmNameArr[i + 1]) { if (vmNameArr[i] === vmNameArr[i + 1]) {
alert("ERROR\n" + `Multiple VMs have the same name: ${vmNameArr[i]}.` + alert("ERROR\n" + `Multiple VMs have the same name: ${vmNameArr[i]}. ` +
"Your configuration cannot be saved." + "Make sure each VM has a unique name."); "Your configuration cannot be saved. " + "Make sure each VM has a unique name.");
errorFlag = true errorFlag = true
} }
} }