[pve-devel] [PATCH v2 docs 1/2] use PVE::DataCenterConfig to get schema
Fabian Grünbichler
f.gruenbichler at proxmox.com
Mon Nov 11 11:27:53 CET 2019
Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
gen-datacenter.cfg.5-opts.pl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gen-datacenter.cfg.5-opts.pl b/gen-datacenter.cfg.5-opts.pl
index 1c687c9..37507e5 100755
--- a/gen-datacenter.cfg.5-opts.pl
+++ b/gen-datacenter.cfg.5-opts.pl
@@ -3,9 +3,9 @@
use lib '.';
use strict;
use warnings;
-use PVE::Cluster;
+use PVE::DataCenterConfig;
use PVE::RESTHandler;
-my $schema = PVE::Cluster::get_datacenter_schema();
+my $schema = PVE::DataCenterConfig::get_datacenter_schema();
print PVE::RESTHandler::dump_properties($schema->{properties});
--
2.20.1
More information about the pve-devel
mailing list