From 218cab9a3a4267fc763675f1802f0f2ca51f6220 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 22 Apr 2013 10:57:24 +0200 Subject: [PATCH] use correct package prefix --- PVE/API2/Qemu.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index 7d71670..53ba9cb 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -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); -- 2.39.2