We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2964a7f commit 54e77f6Copy full SHA for 54e77f6
internal/pkg/agent/application/upgrade/details/details.go
@@ -6,6 +6,7 @@ package details
6
7
import (
8
"math"
9
+ "slices"
10
"sync"
11
"time"
12
@@ -244,7 +245,9 @@ func (m Metadata) Equals(otherM Metadata) bool {
244
245
m.DownloadPercent == otherM.DownloadPercent &&
246
m.DownloadRate == otherM.DownloadRate &&
247
equalTimePointers(m.RetryUntil, otherM.RetryUntil) &&
- m.RetryErrorMsg == otherM.RetryErrorMsg
248
+ m.RetryErrorMsg == otherM.RetryErrorMsg &&
249
+ m.Reason == otherM.Reason &&
250
+ slices.Equal(m.RollbacksAvailable, otherM.RollbacksAvailable)
251
}
252
253
func equalTimePointers(t, otherT *time.Time) bool {
0 commit comments