From 8b39de83523953c31f7de62af97fac2e0f15a121 Mon Sep 17 00:00:00 2001 From: "daniele.corsini@corsinvest.it" Date: Mon, 6 May 2024 09:44:06 +0200 Subject: [PATCH] Fix vmid --- src/Corsinvest.ProxmoxVE.Pepper/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Corsinvest.ProxmoxVE.Pepper/Program.cs b/src/Corsinvest.ProxmoxVE.Pepper/Program.cs index 0a7e2f8..81d7e6f 100644 --- a/src/Corsinvest.ProxmoxVE.Pepper/Program.cs +++ b/src/Corsinvest.ProxmoxVE.Pepper/Program.cs @@ -65,7 +65,7 @@ app.SetHandler(async (ctx) => if (app.DebugIsActive()) { await Console.Out.WriteLineAsync($"VM is {vm.Status}."); } } - var (success, reasonPhrase, content) = await client.Nodes[vm.Node].Qemu[vm.Id].Spiceproxy.GetSpiceFileVVAsync(proxy); + var (success, reasonPhrase, content) = await client.Nodes[vm.Node].Qemu[vm.VmId].Spiceproxy.GetSpiceFileVVAsync(proxy); if (success) { //proxy force