chore: upgrade golangci-lint and address findings (#1904)

This commit is contained in:
Casey Lee authored and GitHub committed 2023-07-10 17:12:12 -07:00
1 parent 79f93beef2
commit 724ec918c9
22 files changed
+57 -59

No files matched your search

+1 -1
View File
@@ -79,7 +79,7 @@ func (fwfs readWriteFSImpl) OpenAppendable(name string) (WritableFile, error) {
return nil, err
}
_, err = file.Seek(0, os.SEEK_END)
_, err = file.Seek(0, io.SeekEnd)
if err != nil {
return nil, err
}