mirror of
https://github.com/minio/minio.git
synced 2025-05-22 18:11:50 -04:00
lint: fix some lint issues on files
This commit is contained in:
parent
260a63ca73
commit
09a25ea7b7
@ -169,7 +169,7 @@ func (sys *S3PeerSys) GetBucketInfo(ctx context.Context, bucket string, opts Buc
|
|||||||
if err = reduceReadQuorumErrs(ctx, errs, bucketOpIgnoredErrs, quorum); err != nil {
|
if err = reduceReadQuorumErrs(ctx, errs, bucketOpIgnoredErrs, quorum); err != nil {
|
||||||
return BucketInfo{}, toObjectErr(err, bucket)
|
return BucketInfo{}, toObjectErr(err, bucket)
|
||||||
}
|
}
|
||||||
|
|
||||||
return bucketInfo, nil
|
return bucketInfo, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -78,6 +78,7 @@ func newBufPool(sz int) httputil.BufferPool {
|
|||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ServeHTTP forwards HTTP traffic using the configured transport
|
// ServeHTTP forwards HTTP traffic using the configured transport
|
||||||
func (f *Forwarder) ServeHTTP(w http.ResponseWriter, inReq *http.Request) {
|
func (f *Forwarder) ServeHTTP(w http.ResponseWriter, inReq *http.Request) {
|
||||||
outReq := new(http.Request)
|
outReq := new(http.Request)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user