VZDump/QemuServer: set bless clas correctly

Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
This commit is contained in:
Stefan Priebe 2016-11-16 20:10:40 +01:00 committed by Dietmar Maurer
parent ac08761682
commit e281273810

View File

@ -22,7 +22,7 @@ sub new {
PVE::VZDump::check_bin('qm');
my $self = bless { vzdump => $vzdump };
my $self = bless { vzdump => $vzdump }, $class;
$self->{vmlist} = PVE::QemuServer::vzlist();
$self->{storecfg} = PVE::Storage::config();