mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 14:10:25 +03:00
Cleanup and update the PR with the master branch.
This commit is contained in:
committed by
Harshavardhana
parent
a76556ec1b
commit
0dab038858
+1
-1
@@ -110,7 +110,7 @@ func newS3Gateway(args cli.Args) (GatewayLayer, error) {
|
||||
secure := true
|
||||
|
||||
// Check if user provided some parameters
|
||||
if len(args) > 0 {
|
||||
if args.Present() {
|
||||
// Override default params if the endpoint is provided
|
||||
endpoint, secure, err = parseGatewayEndpoint(args.First())
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user