Commit 72867ea 1 parent 16fd8f9 commit 72867ea Copy full SHA for 72867ea
File tree 4 files changed +5
-5
lines changed
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -714,7 +714,7 @@ func (r *HelmReleaseReconciler) requestsForHelmChartChange(o client.Object) []re
714
714
for _ , i := range list .Items {
715
715
// If the revision of the artifact equals to the last attempted revision,
716
716
// we should not make a request for this HelmRelease
717
- if hc .GetArtifact ().Revision == i .Status .LastAttemptedRevision {
717
+ if hc .GetArtifact ().HasRevision ( i .Status .LastAttemptedRevision ) {
718
718
continue
719
719
}
720
720
reqs = append (reqs , reconcile.Request {NamespacedName : client .ObjectKeyFromObject (& i )})
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ func (SourceRevisionChangePredicate) Update(e event.UpdateEvent) bool {
47
47
}
48
48
49
49
if oldSource .GetArtifact () != nil && newSource .GetArtifact () != nil &&
50
- oldSource .GetArtifact ().Revision != newSource .GetArtifact ().Revision {
50
+ ! oldSource .GetArtifact ().HasRevision ( newSource .GetArtifact ().Revision ) {
51
51
return true
52
52
}
53
53
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ require (
11
11
github.com/fluxcd/pkg/apis/kustomize v0.8.0
12
12
github.com/fluxcd/pkg/apis/meta v0.19.0
13
13
github.com/fluxcd/pkg/runtime v0.27.0
14
- github.com/fluxcd/source-controller/api v0.34.0
14
+ github.com/fluxcd/source-controller/api v0.34.1-0.20230210193059-0d50ac3eef23
15
15
github.com/go-logr/logr v1.2.3
16
16
github.com/hashicorp/go-retryablehttp v0.7.2
17
17
github.com/onsi/gomega v1.26.0
Original file line number Diff line number Diff line change @@ -168,8 +168,8 @@ github.com/fluxcd/pkg/apis/meta v0.19.0 h1:CX75e/eaRWZDTzNdMSWomY1InlssLKcS8GQDS
168
168
github.com/fluxcd/pkg/apis/meta v0.19.0 /go.mod h1:7b6prDPsViyAzoY7eRfSPS0/MbXpGGsOMvRq2QrTKa4 =
169
169
github.com/fluxcd/pkg/runtime v0.27.0 h1:zVA95Z0KvNjvZxEZhvIbJyJIwtaiv1aVttHZ4YB/FzY =
170
170
github.com/fluxcd/pkg/runtime v0.27.0 /go.mod h1:fC1l4Wv1hnsqPKB46eDZBXF8RMZm5FXeU4bnJkwGkqk =
171
- github.com/fluxcd/source-controller/api v0.34.0 h1:M2kD95IdpmHcDNy78K6T6p7niC38LGwSrKq8XAZEJY0 =
172
- github.com/fluxcd/source-controller/api v0.34.0 /go.mod h1:w3PDdR+FZyq3zyyUDxz6vY3CKByZfYAjkzJUxuUXCuc =
171
+ github.com/fluxcd/source-controller/api v0.34.1-0.20230210193059-0d50ac3eef23 h1:KyzCcKiJHOCAPy8MYcwfgnChtJkr1Iga5s024aAi6wg =
172
+ github.com/fluxcd/source-controller/api v0.34.1-0.20230210193059-0d50ac3eef23 /go.mod h1:w3PDdR+FZyq3zyyUDxz6vY3CKByZfYAjkzJUxuUXCuc =
173
173
github.com/fsnotify/fsnotify v1.4.9 /go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ =
174
174
github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY =
175
175
github.com/fsnotify/fsnotify v1.6.0 /go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw =
You can’t perform that action at this time.
0 commit comments