File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ type writerWrapper struct {
4545}
4646
4747// Write sends p to store as the S3 object associated with w.
48- // An error is returned if Write failed previously, an error occured in S3, or w is already closed.
48+ // An error is returned if Write failed previously, an error occurred in S3, or w is already closed.
4949func (w * writerWrapper ) Write (p []byte ) (n int , err error ) {
5050 // Not checking the status of ctx explicitly because it will be propagated
5151 // from the reader goroutine.
@@ -54,7 +54,7 @@ func (w *writerWrapper) Write(p []byte) (n int, err error) {
5454}
5555
5656// Close ensures that the written data is saved.
57- // An error is returned if Write failed previously, an error occured in S3, or w is already closed.
57+ // An error is returned if Write failed previously, an error occurred in S3, or w is already closed.
5858func (w * writerWrapper ) Close () (err error ) {
5959 err = w .prevErr
6060 _ = w .pw .CloseWithError (err )
You can’t perform that action at this time.
0 commit comments