[pve-devel] [PATCH manager] api/tasks: explicit import raise_param_exc

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Jun 14 12:09:28 CEST 2018


we inherited the import from PVE::RESTHandler but may want to get rid
of it there. So explicitly import it here.

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

diff --git a/PVE/API2/Tasks.pm b/PVE/API2/Tasks.pm
index 160473f7..bd46b062 100644
--- a/PVE/API2/Tasks.pm
+++ b/PVE/API2/Tasks.pm
@@ -11,6 +11,7 @@ use PVE::RESTHandler;
 use PVE::ProcFSTools;
 use PVE::RPCEnvironment;
 use PVE::JSONSchema qw(get_standard_option);
+use PVE::Exception qw(raise_param_exc);
 use PVE::AccessControl;
 
 use base qw(PVE::RESTHandler);
-- 
2.17.1





More information about the pve-devel mailing list