From: Thomas Lamprecht Date: Thu, 14 Jun 2018 10:08:52 +0000 (+0200) Subject: api: host, vm: explicit import raise_param_exc X-Git-Url: https://git.proxmox.com/?p=pve-firewall.git;a=commitdiff_plain;h=f6163c2e161167e0cef1a365b6c1aebc23bf3511;hp=76448f08f40d402da99a3bede18a031b88a9a3c3 api: host, vm: explicit import raise_param_exc 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 --- diff --git a/src/PVE/API2/Firewall/Host.pm b/src/PVE/API2/Firewall/Host.pm index bbc34c5..2500bd0 100644 --- a/src/PVE/API2/Firewall/Host.pm +++ b/src/PVE/API2/Firewall/Host.pm @@ -2,6 +2,8 @@ package PVE::API2::Firewall::Host; use strict; use warnings; + +use PVE::Exception qw(raise_param_exc); use PVE::JSONSchema qw(get_standard_option); use PVE::RPCEnvironment; diff --git a/src/PVE/API2/Firewall/VM.pm b/src/PVE/API2/Firewall/VM.pm index 644d6bb..adb0655 100644 --- a/src/PVE/API2/Firewall/VM.pm +++ b/src/PVE/API2/Firewall/VM.pm @@ -2,6 +2,8 @@ package PVE::API2::Firewall::VMBase; use strict; use warnings; + +use PVE::Exception qw(raise_param_exc); use PVE::JSONSchema qw(get_standard_option); use PVE::Cluster; use PVE::Firewall;