5
0
mirror of git://git.proxmox.com/git/pve-guest-common.git synced 2025-01-12 09:17:50 +03:00

make GuestHelpers a subclass of Exporter

or else the Exports will not work

found by hotplugging nics with current master from qemu-server
which resulted in a
'undefined subroutine &PVE::QemuServer::safe_string_ne'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2020-03-12 10:57:14 +01:00 committed by Thomas Lamprecht
parent e292f76997
commit b2b16cee39

View File

@ -9,6 +9,8 @@ use PVE::Storage;
use POSIX qw(strftime);
use Scalar::Util qw(weaken);
use base qw(Exporter);
our @EXPORT_OK = qw(safe_string_ne safe_boolean_ne safe_num_ne typesafe_ne);
# We use a separate lock to block migration while a replication job