mirror of
https://github.com/minio/minio.git
synced 2025-12-01 13:52:34 -05:00
ssl: Set a global boolean to enable SSL across Minio (#3558)
We have been using `isSSL()` everywhere we can set a global value once and re-use it again.
This commit is contained in:
@@ -121,7 +121,7 @@ func newStorageRPC(ep *url.URL) (StorageAPI, error) {
|
||||
secretKey: secretKey,
|
||||
serverAddr: rpcAddr,
|
||||
serviceEndpoint: rpcPath,
|
||||
secureConn: isSSL(),
|
||||
secureConn: globalIsSSL,
|
||||
serviceName: "Storage",
|
||||
disableReconnect: true,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user