public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH container] fix #5674: add missing 'proxyto' for LXC interfaces API
@ 2024-09-02 12:25 Fabian Grünbichler
  2024-09-06 17:12 ` [pve-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Fabian Grünbichler @ 2024-09-02 12:25 UTC (permalink / raw)
  To: pve-devel

else this API endpoint would only work when connected to the node where the
container is currently running.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
---
 src/PVE/API2/LXC.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index 741f33c..d9f1c0a 100644
--- a/src/PVE/API2/LXC.pm
+++ b/src/PVE/API2/LXC.pm
@@ -2523,6 +2523,7 @@ __PACKAGE__->register_method({
     path => '{vmid}/interfaces',
     method => 'GET',
     protected => 1,
+    proxyto => 'node',
     permissions => {
 	check => ['perm', '/vms/{vmid}', [ 'VM.Audit' ]],
     },
-- 
2.39.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pve-devel] applied: [PATCH container] fix #5674: add missing 'proxyto' for LXC interfaces API
  2024-09-02 12:25 [pve-devel] [PATCH container] fix #5674: add missing 'proxyto' for LXC interfaces API Fabian Grünbichler
@ 2024-09-06 17:12 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2024-09-06 17:12 UTC (permalink / raw)
  To: Proxmox VE development discussion, Fabian Grünbichler

Am 02/09/2024 um 14:25 schrieb Fabian Grünbichler:
> else this API endpoint would only work when connected to the node where the
> container is currently running.
> 
> Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
> ---
>  src/PVE/API2/LXC.pm | 1 +
>  1 file changed, 1 insertion(+)
> 
>

applied, thanks!


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-09-06 17:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-02 12:25 [pve-devel] [PATCH container] fix #5674: add missing 'proxyto' for LXC interfaces API Fabian Grünbichler
2024-09-06 17:12 ` [pve-devel] applied: " Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal