X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=blobdiff_plain;f=gen-pct-network-opts.pl;h=f8b7d0707b44c73a6ce221a6cfcf7db9b3c8dd5a;hp=5f3f5cc5d1754a25b9d81a4ab93205bfb9227987;hb=7f5866a309051fd3b06eb8ce2bb91688ebcf43d7;hpb=bac8c3856f615ec0753fc64246c1dbda6c6a456a 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";