mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 12:10:24 +03:00
lint: fix some lint issues on files
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user