]> git.proxmox.com Git - qemu-server.git/commitdiff
use correct package prefix
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 22 Apr 2013 08:57:24 +0000 (10:57 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 22 Apr 2013 08:57:24 +0000 (10:57 +0200)
PVE/API2/Qemu.pm

index 7d716703b4da8b9acae9a63cac183a191b79a87d..53ba9cbb2cbbcdae33fb66d9f2761a06acec38e8 100644 (file)
@@ -2399,7 +2399,7 @@ __PACKAGE__->register_method({
                if PVE::QemuServer::is_template($conf) && !$disk;
 
            die "you can't convert a VM to template if VM is running\n" 
-               if check_running($vmid);
+               if PVE::QemuServer::check_running($vmid);
 
            my $realcmd = sub {
                PVE::QemuServer::template_create($vmid, $conf, $disk);