Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
Signed-off-by: Chin-Ya Huang <[email protected]>
  • Loading branch information
c3y1huang committed Feb 19, 2024
1 parent 061c696 commit 51d4b89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ns/filelock.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func LockFile(path string) (result *os.File, err error) {
// FileLock is a struct responsible for locking a file.
type FileLock struct {
FilePath string // The path of the file to lock.
File *os.File // The file handle aquired after successful lock.
File *os.File // The file handle acquired after successful lock.
Timeout time.Duration // The maximum time to wait for lock acquisition.

done chan struct{} // A channel for signaling lock release.
Expand Down

0 comments on commit 51d4b89

Please sign in to comment.