mirror of
https://github.com/minio/minio.git
synced 2025-11-20 18:06:10 -05:00
Controller Service proxies rpc calls to the corresponding servers
This commit is contained in:
@@ -42,12 +42,14 @@ func getServerConfig(c *cli.Context) APIConfig {
|
||||
Fatalln("Both certificate and key are required to enable https.")
|
||||
}
|
||||
tls := (certFile != "" && keyFile != "")
|
||||
|
||||
return APIConfig{
|
||||
Address: c.GlobalString("address"),
|
||||
TLS: tls,
|
||||
CertFile: certFile,
|
||||
KeyFile: keyFile,
|
||||
RateLimit: c.GlobalInt("ratelimit"),
|
||||
Address: c.GlobalString("address"),
|
||||
AddressRPC: c.GlobalString("address-rpcserver"),
|
||||
TLS: tls,
|
||||
CertFile: certFile,
|
||||
KeyFile: keyFile,
|
||||
RateLimit: c.GlobalInt("ratelimit"),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user