mirror of https://github.com/spf13/afero.git
fix typo
This commit is contained in:
parent
e08384e901
commit
25e8a0a4c8
|
@ -109,7 +109,7 @@ func (o *GcsFile) Seek(newOffset int64, whence int) (int64, error) {
|
|||
if (whence == 0 && newOffset == o.fhOffset) || (whence == 1 && newOffset == 0) {
|
||||
return o.fhOffset, nil
|
||||
}
|
||||
log.Printf("WARNING: Seek beavhior triggered, highly inefficent. Offset before seek is at %d\n", o.fhOffset)
|
||||
log.Printf("WARNING: Seek behavior triggered, highly inefficent. Offset before seek is at %d\n", o.fhOffset)
|
||||
|
||||
//Fore the reader/writers to be reopened (at correct offset)
|
||||
err := o.Sync()
|
||||
|
|
Loading…
Reference in New Issue