[#549] node: Add TLS to bootstrap address
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
f89c8bf239
commit
077f1af5a7
1 changed files with 4 additions and 0 deletions
|
@ -354,6 +354,10 @@ func initCfg(path string) *cfg {
|
|||
tlsKeyFile = viperCfg.GetString(cfgTLSKeyFile)
|
||||
}
|
||||
|
||||
if tlsEnabled {
|
||||
netAddr.AddTLS()
|
||||
}
|
||||
|
||||
state := newNetworkState()
|
||||
|
||||
containerWorkerPool, err := ants.NewPool(notificationHandlerPoolSize)
|
||||
|
|
Loading…
Reference in a new issue