X-Git-Url: https://git.proxmox.com/?p=pve-client.git;a=blobdiff_plain;f=PVE%2FAPIClient%2FConfig.pm;h=478e6589e2045e3a0647ad517bbf6007e491049e;hp=7189d8e41c3ab74c90f6cb16e5a8a43b26eded65;hb=c9138c03bcb92d01e8c7d9f195ac2f9b4d5458b3;hpb=a086d1ce00cd52814070f36d73ca67b94b3cf981 diff --git a/PVE/APIClient/Config.pm b/PVE/APIClient/Config.pm index 7189d8e..478e658 100644 --- a/PVE/APIClient/Config.pm +++ b/PVE/APIClient/Config.pm @@ -4,11 +4,11 @@ use strict; 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 base qw(PVE::SectionConfig); +use base qw(PVE::APIClient::SectionConfig); my $remote_namne_regex = qw(\w+); @@ -24,7 +24,7 @@ my $complete_remote_name = sub { 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, @@ -158,8 +158,8 @@ package PVE::APIClient::RemoteConfig; 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); @@ -225,7 +225,7 @@ package PVE::APIClient::DefaultsConfig; 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);