all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH container] remote migration: mtunnel: fix call to destroy config in error case
@ 2026-11-09 13:52 Fiona Ebner
  2026-11-09 14:31 ` Fabian Grünbichler
  0 siblings, 1 reply; 2+ messages in thread
From: Fiona Ebner @ 2026-11-09 13:52 UTC (permalink / raw)
  To: pve-devel

The PVE::LXC::destroy_config() function does not exist.

Fixes: 0e0958a ("migration: add remote migration")
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
---
 src/PVE/API2/LXC.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index 63d30d1..d736dac 100644
--- a/src/PVE/API2/LXC.pm
+++ b/src/PVE/API2/LXC.pm
@@ -3433,7 +3433,7 @@ __PACKAGE__->register_method({
 
                 warn "Removing temporary VM config..\n";
                 $run_locked->(sub {
-                    PVE::LXC::destroy_config($state->{vmid});
+                    PVE::LXC::Config->destroy_config($state->{vmid});
                 });
 
                 die "Exiting mtunnel\n";
-- 
2.47.3





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

end of thread, other threads:[~2026-11-09 14:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-09 13:52 [PATCH container] remote migration: mtunnel: fix call to destroy config in error case Fiona Ebner
2026-11-09 14:31 ` Fabian Grünbichler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal