mirror of
https://github.com/minio/minio.git
synced 2025-11-12 23:01:39 -05:00
gateway: Use default params when no args provided (#4315)
For S3 & Azure, use default parameters when no arguments (endpoint) are provided. This also avoids a crash.
This commit is contained in:
committed by
Harshavardhana
parent
b829ec4a6b
commit
5d602034ea
@@ -179,7 +179,7 @@ const (
|
||||
)
|
||||
|
||||
// GatewayFn returns the GatewayLayer for the backend
|
||||
type GatewayFn func([]string) (GatewayLayer, error)
|
||||
type GatewayFn func(cli.Args) (GatewayLayer, error)
|
||||
|
||||
var (
|
||||
backends = map[gatewayBackend]GatewayFn{
|
||||
|
||||
Reference in New Issue
Block a user