[pve-devel] [PATCH container] PVE::API2::LXC: import raise_perm_exc

Stoiko Ivanov s.ivanov at proxmox.com
Fri Jul 6 17:00:45 CEST 2018


A bug in the frontend exposed the missing import

Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
---
 src/PVE/API2/LXC.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index 9f94bf3..55e6310 100644
--- a/src/PVE/API2/LXC.pm
+++ b/src/PVE/API2/LXC.pm
@@ -5,7 +5,7 @@ use warnings;
 
 use PVE::SafeSyslog;
 use PVE::Tools qw(extract_param run_command);
-use PVE::Exception qw(raise raise_param_exc);
+use PVE::Exception qw(raise raise_param_exc raise_perm_exc);
 use PVE::INotify;
 use PVE::Cluster qw(cfs_read_file);
 use PVE::AccessControl;
-- 
2.11.0





More information about the pve-devel mailing list