mirror of
https://github.com/containers/podman.git
synced 2025-07-02 00:30:00 +08:00
Fix build on Main
Signed-off-by: Matt Heon <mheon@redhat.com>
This commit is contained in:
@ -51,7 +51,8 @@ func startHostForwarder(mc *vmconfigs.MachineConfig, provider vmconfigs.VMProvid
|
|||||||
cmd := gvproxy.NewGvproxyCommand()
|
cmd := gvproxy.NewGvproxyCommand()
|
||||||
|
|
||||||
// GvProxy PID file path is now derived
|
// 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) {
|
if logrus.IsLevelEnabled(logrus.DebugLevel) {
|
||||||
cmd.LogFile = filepath.Join(runDir.GetPath(), "gvproxy.log")
|
cmd.LogFile = filepath.Join(runDir.GetPath(), "gvproxy.log")
|
||||||
|
Reference in New Issue
Block a user