Skip to content

Commit

Permalink
Make lock path absolute
Browse files Browse the repository at this point in the history
Signed-off-by: joshvanl <[email protected]>
  • Loading branch information
JoshVanL committed Aug 19, 2024
1 parent 73a74d4 commit 3f79c26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/standalone/standalone.go
Original file line number Diff line number Diff line change
Expand Up @@ -642,9 +642,9 @@ func runSchedulerService(wg *sync.WaitGroup, errorChan chan<- error, info initIn
"-d",
"--entrypoint", "./scheduler",
}
schedVolPath := filepath.Join("var", "lock")
schedVolPath := filepath.Join("/var", "lock")
if info.imageVariant == "mariner" && runtime.GOOS == daprWindowsOS {
schedVolPath = filepath.Join("run", "lock")
schedVolPath = filepath.Join("/run", "lock")
}
if info.schedulerVolume != nil {
// Don't touch this file location unless things start breaking.
Expand Down

0 comments on commit 3f79c26

Please sign in to comment.