]> git.proxmox.com Git - pve-ha-manager.git/commitdiff
fixup parse_sid call
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 7 Jan 2019 11:04:24 +0000 (12:04 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 7 Jan 2019 11:10:40 +0000 (12:10 +0100)
This call was missed in the commit moving it from
PVE::HA::Tools to PVE::HA:Config.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Fixes: 0087839aa530 ("Tools: remove dependency on PVE::Cluster")
src/PVE/HA/Env/PVE2.pm

index f3c72437f63b0f3ba8ea8e8a318e6fcd3a1ac1a7..f81569ee3a8993276559767f0fd3b41ff4367a0d 100644 (file)
@@ -158,7 +158,7 @@ sub exec_fence_agent {
 sub steal_service {
     my ($self, $sid, $current_node, $new_node) = @_;
 
-    my (undef, $type, $name) = PVE::HA::Tools::parse_sid($sid);
+    my (undef, $type, $name) = PVE::HA::Config::parse_sid($sid);
 
     if(my $plugin = PVE::HA::Resources->lookup($type)) {
        my $old = $plugin->config_file($name, $current_node);