mirror of
https://github.com/minio/minio.git
synced 2025-11-08 21:24:55 -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:
@@ -44,7 +44,7 @@ func initDsyncNodes(eps []*url.URL) error {
|
||||
secretKey: cred.SecretKey,
|
||||
serverAddr: ep.Host,
|
||||
serviceEndpoint: pathutil.Join(lockRPCPath, getPath(ep)),
|
||||
secureConn: isSSL(),
|
||||
secureConn: globalIsSSL,
|
||||
serviceName: "Dsync",
|
||||
})
|
||||
if isLocalStorage(ep) && myNode == -1 {
|
||||
|
||||
Reference in New Issue
Block a user