]> git.proxmox.com Git - pve-manager.git/commitdiff
fix use statement
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 17 Nov 2021 12:52:19 +0000 (13:52 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 17 Nov 2021 14:07:12 +0000 (15:07 +0100)
else this happens:

"Use of inherited AUTOLOAD for non-method PVE::API2::Backup::uuid() is
no longer allowed at /usr/share/perl5/PVE/API2/Backup.pm line 198.
(500)"

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
PVE/API2/Backup.pm

index 9bddb4d1effa163ce6c32811b8d85427b821a910..3b1d529909b0a7c757e283e9464405258ea0081c 100644 (file)
@@ -3,7 +3,7 @@ package PVE::API2::Backup;
 use strict;
 use warnings;
 use Digest::SHA;
-use UUID;
+use UUID qw(uuid);
 
 use PVE::SafeSyslog;
 use PVE::Tools qw(extract_param);