lint: fix some lint issues on files

This commit is contained in:
Harshavardhana 2023-04-06 22:42:10 -07:00
parent 260a63ca73
commit 09a25ea7b7
2 changed files with 2 additions and 1 deletions

View File

@ -169,7 +169,7 @@ func (sys *S3PeerSys) GetBucketInfo(ctx context.Context, bucket string, opts Buc
if err = reduceReadQuorumErrs(ctx, errs, bucketOpIgnoredErrs, quorum); err != nil {
return BucketInfo{}, toObjectErr(err, bucket)
}
return bucketInfo, nil
}

View File

@ -78,6 +78,7 @@ func newBufPool(sz int) httputil.BufferPool {
},
}}
}
// ServeHTTP forwards HTTP traffic using the configured transport
func (f *Forwarder) ServeHTTP(w http.ResponseWriter, inReq *http.Request) {
outReq := new(http.Request)