Skip to content

Commit cf25523

Browse files
committed
Fix getLibpodTmpDir() on Windows
Changes the function to return an absolute path. Without this, EngineConfig.Validate() will return an error on Windows when using the default values. Signed-off-by: Sebastian Soto <[email protected]>
1 parent 6e82793 commit cf25523

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/config/default_windows.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func getDefaultLockType() string {
3838
}
3939

4040
func getLibpodTmpDir() string {
41-
return "/run/libpod"
41+
return "C:\\run\\libpod"
4242
}
4343

4444
// getDefaultMachineVolumes returns default mounted volumes (possibly with env vars, which will be expanded)

0 commit comments

Comments
 (0)