[pve-devel] VZDump/QemuServer: set bless clas correctly

Dietmar Maurer dietmar at proxmox.com
Thu Nov 17 07:20:04 CET 2016


> While blessing it is good practise to provide the class. This makes it also
> possible to use
> QemuServer as a base / parent class.

Why do you want another class (QemuServer) as base?

Isn't it better to remove that whole $class parameter?

sub new {
    my ($vzdump) = @_;

  




More information about the pve-devel mailing list