[pve-devel] [PATCH cluster] pvecm: remove RPCEnvironment use clause

Thomas Lamprecht t.lamprecht at proxmox.com
Tue May 24 14:57:55 CEST 2016


This is here as the super class CLIHandler inits the RPCEnv on CLI
classes, we do no use it anywhere locally.
Remove that as we do not need it and it actually triggers an cyclic
build dependency between pve-access-control and pve-cluster.

Also exclude us from initing RPCEnv in run_cli_handler in a patch
for pve-common.

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

diff --git a/data/PVE/CLI/pvecm.pm b/data/PVE/CLI/pvecm.pm
index 1dce049..53fcb3a 100755
--- a/data/PVE/CLI/pvecm.pm
+++ b/data/PVE/CLI/pvecm.pm
@@ -13,7 +13,6 @@ use PVE::Tools;
 use PVE::Cluster;
 use PVE::INotify;
 use PVE::JSONSchema;
-use PVE::RPCEnvironment;
 use PVE::CLIHandler;
 
 use base qw(PVE::CLIHandler);
-- 
2.1.4





More information about the pve-devel mailing list