]> git.proxmox.com Git - pve-common.git/commit
RESTHandler getopt_usage: schema properties can be undef
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 9 Mar 2020 11:24:07 +0000 (12:24 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 9 Mar 2020 11:26:06 +0000 (12:26 +0100)
commit772038d440981da4d9f6b118666d0224c538609a
tree43fb1388a933d65eb6ec59644b059f38cbb40934
parentd2513a84dffd50e7b9cdf3a9780b75af94f43cc8
RESTHandler getopt_usage: schema properties can be undef

While seldom some of our API endpoints do not define it, e.g., the
world readable /access/ticket call.

As all of the stack can cope with that just fine make getopt_usage
also follow that behavior and don't assume that properties has to be
defined.

This fixes a complaint about undefined value use in the following
calls:
 pvesh usage /access/ticket
 pmgsh help /access

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/RESTHandler.pm