]> git.puffer.fish Git - mirror/pve-network.git/commit
ipam: netbox: add error handling to get_ips_from_mac
authorStefan Hanreich <s.hanreich@proxmox.com>
Mon, 10 Mar 2025 08:51:00 +0000 (09:51 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 7 Apr 2025 15:43:45 +0000 (17:43 +0200)
commitb673a106c5b25a5d9e2586c51be764bfb01df506
treea5049ac040533c6597c9a157baa6cfb09590544a
parent5ff8aeb080ae99230fc6d2825722f49fd0fca3c0
ipam: netbox: add error handling to get_ips_from_mac

This function did not catch any possible errors, nor respect the
$noerr parameter.

Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
Tested-by: Hannes Duerr <h.duerr@proxmox.com>
Link: https://lore.proxmox.com/20250310085103.30549-5-s.hanreich@proxmox.com
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/Network/SDN/Ipams/NetboxPlugin.pm