]> git.proxmox.com Git - pve-firewall.git/commitdiff
api: host, vm: explicit import raise_param_exc
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 14 Jun 2018 10:08:52 +0000 (12:08 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 18 Jun 2018 09:06:09 +0000 (11:06 +0200)
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@proxmox.com>
src/PVE/API2/Firewall/Host.pm
src/PVE/API2/Firewall/VM.pm

index bbc34c5a97063cccb0c792165a23483015b65cd8..2500bd07d739e1c9d6341bbf666048385065ef29 100644 (file)
@@ -2,6 +2,8 @@ package PVE::API2::Firewall::Host;
 
 use strict;
 use warnings;
 
 use strict;
 use warnings;
+
+use PVE::Exception qw(raise_param_exc);
 use PVE::JSONSchema qw(get_standard_option);
 use PVE::RPCEnvironment;
 
 use PVE::JSONSchema qw(get_standard_option);
 use PVE::RPCEnvironment;
 
index 644d6bb1a4a6303c7d3e1a9dadbc88c14ff4cf1d..adb0655064c3e2b135344ac6f638a9b1c9367f2b 100644 (file)
@@ -2,6 +2,8 @@ package PVE::API2::Firewall::VMBase;
 
 use strict;
 use warnings;
 
 use strict;
 use warnings;
+
+use PVE::Exception qw(raise_param_exc);
 use PVE::JSONSchema qw(get_standard_option);
 use PVE::Cluster;
 use PVE::Firewall;
 use PVE::JSONSchema qw(get_standard_option);
 use PVE::Cluster;
 use PVE::Firewall;