[pve-devel] applied: [PATCH ha-manager] fixup parse_sid call
Thomas Lamprecht
t.lamprecht at proxmox.com
Mon Jan 7 12:11:27 CET 2019
On 1/7/19 12:04 PM, Wolfgang Bumiller wrote:
> This call was missed in the commit moving it from
> PVE::HA::Tools to PVE::HA:Config.
>
> Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
> Fixes: 0087839aa530 ("Tools: remove dependency on PVE::Cluster")
> ---
> src/PVE/HA/Env/PVE2.pm | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/PVE/HA/Env/PVE2.pm b/src/PVE/HA/Env/PVE2.pm
> index f3c7243..f81569e 100644
> --- a/src/PVE/HA/Env/PVE2.pm
> +++ b/src/PVE/HA/Env/PVE2.pm
> @@ -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);
>
applied, thanks!
More information about the pve-devel
mailing list