diff --git a/internal/pkg/agent/application/upgrade/details/details.go b/internal/pkg/agent/application/upgrade/details/details.go index 7a09763b786..a7310e6813d 100644 --- a/internal/pkg/agent/application/upgrade/details/details.go +++ b/internal/pkg/agent/application/upgrade/details/details.go @@ -73,7 +73,8 @@ func (d *Details) RegisterObserver(observer Observer) { } // NotifyObservers sends the current upgrade details to all registered -// observers. +// observers. When an upgrade has completed (StateCompleted), the observers +// will be sent a nil value. func (d *Details) NotifyObservers() { d.mu.RLock() defer d.mu.RUnlock()