5
0
mirror of git://git.proxmox.com/git/pve-docs.git synced 2025-01-18 06:03:46 +03:00

use PVE::DataCenterConfig to get schema

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2019-11-11 11:27:53 +01:00 committed by Thomas Lamprecht
parent bb0fdf615f
commit 19556f5368

View File

@ -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});