mirror of
https://github.com/minio/mc.git
synced 2025-11-09 02:22:18 +03:00
Implement mc ready to check if the cluster is ready or not (#4101)
Also adds option to check if the cluster has enough read quorum and if the cluster is taken down for any maintenance. Uses madmin.AnonymousClient for invoking the requests
This commit is contained in:
@@ -151,8 +151,8 @@ func NewS3Config(urlStr string, aliasCfg *aliasConfigV10) *Config {
|
||||
s3Config.SecretKey = aliasCfg.SecretKey
|
||||
s3Config.SessionToken = aliasCfg.SessionToken
|
||||
s3Config.Signature = aliasCfg.API
|
||||
s3Config.Lookup = getLookupType(aliasCfg.Path)
|
||||
}
|
||||
s3Config.Lookup = getLookupType(aliasCfg.Path)
|
||||
return s3Config
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user