X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=blobdiff_plain;f=gen-pct-mountpoint-opts.pl;fp=gen-pct-mountpoint-opts.pl;h=6c2269cb97ecc37f2201a148b23c88fee91cc03f;hp=4fd6964a7223e93556ab14cec6694bcfb2b690e6;hb=f004f5b97a071cf1fd5b7467c1d9e74dcdd84375;hpb=0585f29ac4ed08d13d073ccc77a344ec0e951d43 diff --git a/gen-pct-mountpoint-opts.pl b/gen-pct-mountpoint-opts.pl index 4fd6964..6c2269c 100755 --- a/gen-pct-mountpoint-opts.pl +++ b/gen-pct-mountpoint-opts.pl @@ -5,6 +5,7 @@ use strict; use warnings; use PVE::RESTHandler; use PVE::LXC::Config; +use PVE::JSONSchema; my $prop = PVE::LXC::Config->json_config_properties(); @@ -12,11 +13,11 @@ my $rootfs_prop = $prop->{rootfs}; my $mp_prop = $prop->{mp0}; -my $typetext = PVE::PodParser::schema_get_type_text($rootfs_prop); +my $typetext = PVE::JSONSchema::schema_get_type_text($rootfs_prop); print "`rootfs`: `$typetext`\n\n"; -$typetext = PVE::PodParser::schema_get_type_text($mp_prop); +$typetext = PVE::JSONSchema::schema_get_type_text($mp_prop); print "`mp[n]`: `$typetext`\n\n";