]> git.proxmox.com Git - pve-client.git/blobdiff - PVE/APIClient/Config.pm
use packages from PVE::APIClient
[pve-client.git] / PVE / APIClient / Config.pm
index 7189d8e41c3ab74c90f6cb16e5a8a43b26eded65..478e6589e2045e3a0647ad517bbf6007e491049e 100644 (file)
@@ -4,11 +4,11 @@ use strict;
 use warnings;
 use JSON;
 
 use warnings;
 use JSON;
 
-use PVE::JSONSchema;
-use PVE::SectionConfig;
+use PVE::APIClient::JSONSchema;
+use PVE::APIClient::SectionConfig;
 use PVE::APIClient::Tools qw(file_get_contents file_set_contents);
 
 use PVE::APIClient::Tools qw(file_get_contents file_set_contents);
 
-use base qw(PVE::SectionConfig);
+use base qw(PVE::APIClient::SectionConfig);
 
 my $remote_namne_regex = qw(\w+);
 
 
 my $remote_namne_regex = qw(\w+);
 
@@ -24,7 +24,7 @@ my $complete_remote_name = sub {
     return $list;
 };
 
     return $list;
 };
 
-PVE::JSONSchema::register_standard_option('pveclient-remote-name', {
+PVE::APIClient::JSONSchema::register_standard_option('pveclient-remote-name', {
     description => "The name of the remote.",
     type => 'string',
     pattern => $remote_namne_regex,
     description => "The name of the remote.",
     type => 'string',
     pattern => $remote_namne_regex,
@@ -158,8 +158,8 @@ package PVE::APIClient::RemoteConfig;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-use PVE::JSONSchema qw(register_standard_option get_standard_option);
-use PVE::SectionConfig;
+use PVE::APIClient::JSONSchema qw(register_standard_option get_standard_option);
+use PVE::APIClient::SectionConfig;
 
 use base qw( PVE::APIClient::Config);
 
 
 use base qw( PVE::APIClient::Config);
 
@@ -225,7 +225,7 @@ package PVE::APIClient::DefaultsConfig;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-use PVE::JSONSchema qw(register_standard_option get_standard_option);
+use PVE::APIClient::JSONSchema qw(register_standard_option get_standard_option);
 
 use base qw( PVE::APIClient::Config);
 
 
 use base qw( PVE::APIClient::Config);