]> git.proxmox.com Git - pve-network.git/commit
api: vnet: fix warning in vnet API
authorStefan Hanreich <s.hanreich@proxmox.com>
Mon, 27 Nov 2023 10:23:35 +0000 (11:23 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 29 Nov 2023 09:54:37 +0000 (10:54 +0100)
commit2664f295758acc2485f14fc327b8c1abc7149c3f
tree4945d5f913a8a758258c61d98ed8caa3e00df6eb
parentfb97ed300a1eb8ed646d327bca874517621b614f
api: vnet: fix warning in vnet API

If zone is not set, we also check the pending changes for a zone key,
since it is set as pending when the Vnet settings have not yet been
applied.

Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
src/PVE/API2/Network/SDN/Vnets.pm