]> git.puffer.fish Git - mirror/pve-network.git/commit
ipam: netbox: no conditional assignments for descriptions
authorStefan Hanreich <s.hanreich@proxmox.com>
Mon, 10 Mar 2025 08:50:59 +0000 (09:50 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 7 Apr 2025 15:43:41 +0000 (17:43 +0200)
commit5ff8aeb080ae99230fc6d2825722f49fd0fca3c0
tree7d3e573e1fb154fa15b8d459b81822e83f528ac0
parentcea37c09da99adcaef1d7cf7dbbd8aa82796030d
ipam: netbox: no conditional assignments for descriptions

While it should make practically no difference, it opens up potential
errors in the future, so just remove the conditional assignments and
explicitly define the variable as undef, so the intention is more
clear.

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