]> git.proxmox.com Git - pve-container.git/commitdiff
fix PVE::HA use clauses
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 27 Jan 2016 13:25:49 +0000 (14:25 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 27 Jan 2016 16:14:43 +0000 (17:14 +0100)
remove to unecessary use clauses and add the PVE2 environment use
clause to the other so that the correct HA resource plugins get
registered

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/API2/LXC.pm
src/PVE/API2/LXC/Config.pm
src/PVE/API2/LXC/Snapshot.pm
src/PVE/API2/LXC/Status.pm

index 9c3548a1608b127183935b9add09e786e217a7f1..09b71c880bda86dba3a6c8c218d7b0f1d8036020 100644 (file)
@@ -19,6 +19,7 @@ use PVE::LXC::Migrate;
 use PVE::API2::LXC::Config;
 use PVE::API2::LXC::Status;
 use PVE::API2::LXC::Snapshot;
+use PVE::HA::Env::PVE2;
 use PVE::HA::Config;
 use PVE::JSONSchema qw(get_standard_option);
 use base qw(PVE::RESTHandler);
index 95eafaae7a922ce8b55ffa1608289d6c58aadf57..1a1190c6f6a292f31d01a0254cadf0538cc7a0f5 100644 (file)
@@ -15,7 +15,6 @@ use PVE::RESTHandler;
 use PVE::RPCEnvironment;
 use PVE::LXC;
 use PVE::LXC::Create;
-use PVE::HA::Config;
 use PVE::JSONSchema qw(get_standard_option);
 use base qw(PVE::RESTHandler);
 
index 5bb73b183464365c568c3af59aa4956745a5ccd2..7e3bf4993a26719fbf7c8b603a7130a5f97147f4 100644 (file)
@@ -15,7 +15,6 @@ use PVE::RESTHandler;
 use PVE::RPCEnvironment;
 use PVE::LXC;
 use PVE::LXC::Create;
-use PVE::HA::Config;
 use PVE::JSONSchema qw(get_standard_option);
 use base qw(PVE::RESTHandler);
 
index a94bffa77a2ccb4d83e4ca9f7711818a772726d1..1c80355c29cf3aff472df0058678f3bf3db5c26c 100644 (file)
@@ -15,6 +15,7 @@ use PVE::RESTHandler;
 use PVE::RPCEnvironment;
 use PVE::LXC;
 use PVE::LXC::Create;
+use PVE::HA::Env::PVE2;
 use PVE::HA::Config;
 use PVE::JSONSchema qw(get_standard_option);
 use base qw(PVE::RESTHandler);