From 66e292ebb9af46eab156426220ddeaa3f118b6f3 Mon Sep 17 00:00:00 2001 From: Matt Heon Date: Mon, 12 Feb 2024 18:02:07 -0500 Subject: [PATCH] Fix build on Main Signed-off-by: Matt Heon --- pkg/machine/shim/networking.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/machine/shim/networking.go b/pkg/machine/shim/networking.go index 5db9add1c3..98c3bbe61d 100644 --- a/pkg/machine/shim/networking.go +++ b/pkg/machine/shim/networking.go @@ -51,7 +51,8 @@ func startHostForwarder(mc *vmconfigs.MachineConfig, provider vmconfigs.VMProvid cmd := gvproxy.NewGvproxyCommand() // GvProxy PID file path is now derived - cmd.PidFile = filepath.Join(dirs.RuntimeDir.GetPath(), "gvproxy.pid") + runDir := dirs.RuntimeDir + cmd.PidFile = filepath.Join(runDir.GetPath(), "gvproxy.pid") if logrus.IsLevelEnabled(logrus.DebugLevel) { cmd.LogFile = filepath.Join(runDir.GetPath(), "gvproxy.log")