[pve-devel] [PATCH pve-container 2/2] fix #5339: api: lxc: ip: add 'all' option so that all addresses can be returned.
Gabriel Goller
g.goller at proxmox.com
Tue Jan 7 15:28:40 CET 2025
Hi Johannes,
I recently submitted a patch similar to this one
(https://lore.proxmox.com/pve-devel/20241210151130.321984-1-g.goller@proxmox.com/T/#ma90b76fb51c7b24b8a1eb6031fd874f481d8b4a8)
for a different feature and completely overlooked that this patch exists
already. In my opinion, we should continue the work on my more recent
patch, as I prefer to always return an array, rather than only doing so
when a specific property is passed. The reason for this is that when
returning a single IP, there is no clear way to choose the "correct" one
(and, in fact, there may not even be a "correct" one to choose).
Let me know what you think!
More information about the pve-devel
mailing list