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

View File

@ -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
} }