]> git.proxmox.com Git - pmg-api.git/commit
api: nodes: add definedness check to avoid perl warning
authorFabian Ebner <f.ebner@proxmox.com>
Tue, 15 Jun 2021 13:27:52 +0000 (15:27 +0200)
committerStoiko Ivanov <s.ivanov@proxmox.com>
Tue, 15 Jun 2021 15:21:46 +0000 (17:21 +0200)
commit780504cc76cb64e16a563eb59f92919e6d187d6d
tree3353302199a1215b02b1c329041f069f06f54984
parent2e08e3c97b6410ac0b6d985c99ba7ba3722d21f1
api: nodes: add definedness check to avoid perl warning

also add the missing import for 'raise_perm_exc' to avoid having the error about
the undefined subroutine instead of the actual error.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
src/PMG/API2/Nodes.pm