Reset clusterHealth when autopilot starts

pull/3833/head
Kyle Havlovitz 7 years ago
parent 0373aec821
commit bfeb09983b
No known key found for this signature in database
GPG Key ID: 8A5E6B173056AD6C

@ -64,6 +64,7 @@ func NewAutopilot(logger *log.Logger, delegate Delegate, interval, healthInterva
func (a *Autopilot) Start() {
a.shutdownCh = make(chan struct{})
a.waitGroup = sync.WaitGroup{}
a.clusterHealth = OperatorHealthReply{}
a.waitGroup.Add(2)
go a.run()

Loading…
Cancel
Save