import the typesafe_ne method when we're at it
use PVE::Cluster;
use PVE::Storage;
+use PVE::GuestHelpers qw(typesafe_ne);
use PVE::ReplicationConfig;
use PVE::Replication;
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