X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=gen-pct-network-opts.pl;fp=gen-pct-network-opts.pl;h=f8b7d0707b44c73a6ce221a6cfcf7db9b3c8dd5a;hb=f004f5b97a071cf1fd5b7467c1d9e74dcdd84375;hp=5f3f5cc5d1754a25b9d81a4ab93205bfb9227987;hpb=0585f29ac4ed08d13d073ccc77a344ec0e951d43;p=pve-docs.git diff --git a/gen-pct-network-opts.pl b/gen-pct-network-opts.pl index 5f3f5cc..f8b7d07 100755 --- a/gen-pct-network-opts.pl +++ b/gen-pct-network-opts.pl @@ -3,6 +3,7 @@ use lib '.'; use strict; use warnings; +use PVE::JSONSchema; use PVE::RESTHandler; use PVE::LXC::Config; @@ -12,7 +13,7 @@ my $phash = $prop->{net0}; my $format = $phash->{format}; -my $typetext = PVE::PodParser::schema_get_type_text($phash); +my $typetext = PVE::JSONSchema::schema_get_type_text($phash); print "`net[n]`: `$typetext`\n\n";