From 67b3581e644fbf977c8c1cfed19b714d01cbd08f Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 10 Mar 2020 09:46:41 +0100 Subject: [PATCH] config: add missing use GuestHelpers module import the typesafe_ne method when we're at it --- PVE/AbstractConfig.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PVE/AbstractConfig.pm b/PVE/AbstractConfig.pm index 1d1ec81..e3e4c6e 100644 --- a/PVE/AbstractConfig.pm +++ b/PVE/AbstractConfig.pm @@ -8,6 +8,7 @@ use PVE::INotify; use PVE::Cluster; use PVE::Storage; +use PVE::GuestHelpers qw(typesafe_ne); use PVE::ReplicationConfig; use PVE::Replication; @@ -196,7 +197,7 @@ sub partial_fast_plug { foreach my $subopt (@all_keys) { my $type = $format->{$subopt}->{type}; - if (PVE::GuestHelpers::typesafe_ne($configured->{$subopt}, $pending->{$subopt}, $type)) { + if (typesafe_ne($configured->{$subopt}, $pending->{$subopt}, $type)) { if ($fast_pluggable->{$subopt}) { $configured->{$subopt} = $pending->{$subopt}; $changes = 1 -- 2.39.2