Skip to content

Commit 8859ccd

Browse files
committed
fix: typos
Signed-off-by: guoguangwu <[email protected]>
1 parent 5c4385a commit 8859ccd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gcsfs/file.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ func (o *GcsFile) Seek(newOffset int64, whence int) (int64, error) {
109109
if (whence == 0 && newOffset == o.fhOffset) || (whence == 1 && newOffset == 0) {
110110
return o.fhOffset, nil
111111
}
112-
log.Printf("WARNING: Seek behavior triggered, highly inefficent. Offset before seek is at %d\n", o.fhOffset)
112+
log.Printf("WARNING: Seek behavior triggered, highly inefficient. Offset before seek is at %d\n", o.fhOffset)
113113

114114
// Fore the reader/writers to be reopened (at correct offset)
115115
err := o.Sync()

gcsfs/file_resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ func (o *gcsFileResource) maybeCloseWriter() error {
9797
if err != nil {
9898
return fmt.Errorf(
9999
"couldn't simulate a partial write; the closing (and thus"+
100-
" the whole file write) is NOT commited to GCS. %v", err)
100+
" the whole file write) is NOT committed to GCS. %v", err)
101101
}
102102
if currentFile != nil && currentFile.Remain() > 0 {
103103
if _, err := io.Copy(o.writer, currentFile); err != nil {

0 commit comments

Comments
 (0)