mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 02:15:43 +03:00
set server configuration checksum on reload
This commit is contained in:
@@ -414,6 +414,7 @@ func (c *Client) reloadTLSConnections(newConfig *nconfig.TLSConfig) error {
|
||||
// decide on what type of connections to accept
|
||||
c.configLock.Lock()
|
||||
c.config.TLSConfig = newConfig
|
||||
c.config.TLSConfig.SetChecksum()
|
||||
c.configLock.Unlock()
|
||||
|
||||
c.connPool.ReloadTLS(tlsWrap)
|
||||
|
||||
Reference in New Issue
Block a user