mirror of
https://github.com/pgsty/minio.git
synced 2026-07-24 22:46:16 +03:00
Add TLS encryption capability to RPC clients (#2789)
This commit is contained in:
committed by
Harshavardhana
parent
1e6afac3bd
commit
9fb1c89f81
@@ -45,7 +45,8 @@ func initDsyncNodes(disks []string, port int) error {
|
||||
accessKey: cred.AccessKeyID,
|
||||
secretKey: cred.SecretAccessKey,
|
||||
// Construct a new dsync server addr.
|
||||
address: disk[:idx] + ":" + serverPort,
|
||||
secureConn: isSSL(),
|
||||
address: disk[:idx] + ":" + serverPort,
|
||||
// Construct a new rpc path for the disk.
|
||||
path: pathutil.Join(lockRPCPath, disk[idx+1:]),
|
||||
loginMethod: "Dsync.LoginHandler",
|
||||
|
||||
Reference in New Issue
Block a user