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 f831981 commit 4e98b04Copy full SHA for 4e98b04
pkg/controller/state/reapply.go
@@ -48,7 +48,7 @@ func ShouldReapply(obj metav1.Object) (bool, error) {
48
return false, nil
49
}
50
51
- diff := timestamp.Add(period).Sub(time.Now())
+ diff := time.Until(timestamp.Add(period))
52
53
return diff <= 0, nil
54
0 commit comments