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 a67bfa2c1b
commit 859eaea5c4
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
}