]> git.proxmox.com Git - pve-ha-manager.git/commitdiff
config parse_sid: improve error message, not only used on 'add'
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 12 Mar 2020 11:48:03 +0000 (12:48 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 12 Mar 2020 11:48:06 +0000 (12:48 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/HA/Config.pm

index d849e8f4e2fdcccc0065fff39c397b51d0565d9f..e4b71810ce3feb5534590757c963faa5da9ef173 100644 (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;