connect/ca: pull the cluster ID from config during a rotation

This commit is contained in:
Kyle Havlovitz 2018-06-20 15:02:31 -07:00 committed by Jack Pearkes
parent 8c2c9705d9
commit 3baa67cdef
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ func (s *ConnectCA) ConfigurationSet(
if err != nil {
return err
}
args.Config.ClusterID = config.ClusterID
if args.Config.Provider == config.Provider && reflect.DeepEqual(args.Config.Config, config.Config) {
return nil
}