[pve-devel] [PATCH] remove unused PVE::HA::Env::PVE2 use clause

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Nov 15 09:10:19 CET 2016


This also removes a cyclic dependency, which looked like:
PVE::HA::Env::PVE2 -> PVE::HA::Resource::PVEVM -> PVE::API2::Qemu ->
PVE::HA::Env::PVE2

Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 PVE/API2/Qemu.pm | 1 -
 1 file changed, 1 deletion(-)

diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index 34a5d5d..1ab6318 100644
--- a/PVE/API2/Qemu.pm
+++ b/PVE/API2/Qemu.pm
@@ -22,7 +22,6 @@ use PVE::INotify;
 use PVE::Network;
 use PVE::Firewall;
 use PVE::API2::Firewall::VM;
-use PVE::HA::Env::PVE2;
 use PVE::HA::Config;
 
 use Data::Dumper; # fixme: remove
-- 
2.1.4





More information about the pve-devel mailing list