mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 06:16:08 +00:00
connect/ca: pull the cluster ID from config during a rotation
This commit is contained in:
parent
8c2c9705d9
commit
3baa67cdef
@ -81,6 +81,7 @@ func (s *ConnectCA) ConfigurationSet(
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
args.Config.ClusterID = config.ClusterID
|
||||||
if args.Config.Provider == config.Provider && reflect.DeepEqual(args.Config.Config, config.Config) {
|
if args.Config.Provider == config.Provider && reflect.DeepEqual(args.Config.Config, config.Config) {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user