Skip to content

Commit

Permalink
typo: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jinrenjie committed Sep 15, 2024
1 parent 03da51d commit b36d209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filestorage.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ func (s *FileStorage) Lock(ctx context.Context, name string) error {
// the previous acquirer either crashed or had some sort of failure that
// caused them to be unable to fully acquire or retain the lock, therefore
// we should treat it as if the lockfile did not exist
Default.Logger.Sugar().Infof("[INFO][%s] %s: Empty lockfile (%v) - likely previous process crashed or storage medium failure; treating as stale", s, filename, err2)
Default.Logger.Sugar().Infof("[%s] %s: Empty lockfile (%v) - likely previous process crashed or storage medium failure; treating as stale", s, filename, err2)
}
} else if err2 != nil {
return fmt.Errorf("decoding lockfile contents: %w", err2)
Expand Down

0 comments on commit b36d209

Please sign in to comment.