]> git.proxmox.com Git - pve-access-control.git/commitdiff
realm sync: cleanup imports
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 7 Jun 2023 07:31:39 +0000 (09:31 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 7 Jun 2023 07:31:40 +0000 (09:31 +0200)
with: perlimports -i --no-padding

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/API2/AccessControl/RealmSync.pm
src/PVE/Jobs/RealmSync.pm

index 4a689caa24a0a57edd87f098f03ae6b3fe740787..526a2277f1e4f4eb3f08095cb84b913e0903b1c8 100644 (file)
@@ -3,21 +3,15 @@ package PVE::API2::AccessControl::RealmSync;
 use strict;
 use warnings;
 
-use JSON;
 
-use PVE::Cluster qw (cfs_read_file cfs_write_file cfs_lock_file);
+use PVE::Cluster qw(cfs_lock_file cfs_read_file cfs_write_file);
 use PVE::Exception qw(raise_param_exc);
 use PVE::JSONSchema qw(get_standard_option);
-use PVE::Job::Registry;
-use PVE::RESTHandler;
-use PVE::SafeSyslog;
-use PVE::SectionConfig;
+use PVE::Job::Registry ();
+use PVE::SectionConfig ();
 use PVE::Tools qw(extract_param);
 
-use PVE::AccessControl;
-use PVE::Auth::Plugin;
-use PVE::Jobs::RealmSync;
-
+use PVE::Jobs::RealmSync ();
 
 use base qw(PVE::RESTHandler);
 
index 3a518cc6bcada3a4734a5baf828a7c30c0e053fd..91235d53241370ad55b1785fc1dc75229d078429 100644 (file)
@@ -3,15 +3,15 @@ package PVE::Jobs::RealmSync;
 use strict;
 use warnings;
 
-use JSON;
+use JSON qw(decode_json encode_json);
 use POSIX qw(ENOENT);
 
 use PVE::JSONSchema qw(get_standard_option);
-use PVE::Cluster;
-use PVE::CalendarEvent;
-use PVE::Tools;
+use PVE::Cluster ();
+use PVE::CalendarEvent ();
+use PVE::Tools ();
 
-use PVE::API2::Domains;
+use PVE::API2::Domains ();
 
 use base qw(PVE::Job::Registry);