From 41b2a54b169253a76302a8d5cb198fce2c50b8f5 Mon Sep 17 00:00:00 2001 From: joshvanl Date: Mon, 19 Aug 2024 11:23:40 -0500 Subject: [PATCH] Remove runtime windows check for mariner Signed-off-by: joshvanl --- pkg/standalone/standalone.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/standalone/standalone.go b/pkg/standalone/standalone.go index bd2bcf910..116c1dced 100644 --- a/pkg/standalone/standalone.go +++ b/pkg/standalone/standalone.go @@ -643,7 +643,7 @@ func runSchedulerService(wg *sync.WaitGroup, errorChan chan<- error, info initIn "--entrypoint", "./scheduler", } schedVolPath := filepath.Join("/var", "lock") - if info.imageVariant == "mariner" && runtime.GOOS == daprWindowsOS { + if info.imageVariant == "mariner" { schedVolPath = filepath.Join("/run", "lock") } if info.schedulerVolume != nil {