diff --git a/bootstrap/shell/shell.go b/bootstrap/shell/shell.go index 6d9eb1e07d..c9d28f710b 100644 --- a/bootstrap/shell/shell.go +++ b/bootstrap/shell/shell.go @@ -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) }