5
0
mirror of git://git.proxmox.com/git/pve-ha-manager.git synced 2025-01-23 02:04:19 +03:00

config parse_sid: improve error message, not only used on 'add'

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-03-12 12:48:03 +01:00
parent da5ba16a8d
commit 2331a744f9

View File

@ -177,7 +177,7 @@ sub parse_sid {
$sid = "$type:$name";
}
else {
die "unable do add resource - VM/CT $1 does not exist\n";
die "unable do detect SID from VMID - VM/CT $1 does not exist\n";
}
} elsif ($sid =~m/^(\S+):(\S+)$/) {
$name = $2;