Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
DrJosh9000 committed Jun 6, 2023
1 parent 3e79ba5 commit 7467471
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bootstrap/shell/shell.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,9 @@ func (s *Shell) flock(ctx context.Context, path string, timeout time.Duration) (

// Create a cross-process file-based lock based on pid files
func (s *Shell) LockFile(ctx context.Context, path string, timeout time.Duration) (LockFile, error) {
if experients.Enabled(experiments.AgentAPI) {
// TODO: use lock package
}
return s.flock(ctx, path, timeout)
}

Expand Down

0 comments on commit 7467471

Please sign in to comment.