mirror of
https://github.com/pgsty/minio.git
synced 2026-07-22 21:50:22 +03:00
feat: support nats tls handshake first (#21008)
This commit is contained in:
@@ -482,6 +482,10 @@ func SetNotifyNATS(s config.Config, natsName string, cfg target.NATSArgs) error
|
||||
Key: target.NATSTLSSkipVerify,
|
||||
Value: config.FormatBool(cfg.Secure),
|
||||
},
|
||||
config.KV{
|
||||
Key: target.NATSTLSHandshakeFirst,
|
||||
Value: config.FormatBool(cfg.TLSHandshakeFirst),
|
||||
},
|
||||
config.KV{
|
||||
Key: target.NATSPingInterval,
|
||||
Value: strconv.FormatInt(cfg.PingInterval, 10),
|
||||
|
||||
Reference in New Issue
Block a user