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:
parent
da5ba16a8d
commit
2331a744f9
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user