Skip to content

Commit 7396c1a

Browse files
fix: hydration errors not set on applications (argoproj#24755)
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
1 parent 24fbf28 commit 7396c1a

File tree

16 files changed

+1216
-338
lines changed

16 files changed

+1216
-338
lines changed

.mockery.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ packages:
2424
Renderer: {}
2525
github.com/argoproj/argo-cd/v3/commitserver/apiclient:
2626
interfaces:
27-
Clientset: {}
2827
CommitServiceClient: {}
2928
github.com/argoproj/argo-cd/v3/commitserver/commit:
3029
interfaces:
@@ -35,6 +34,7 @@ packages:
3534
github.com/argoproj/argo-cd/v3/controller/hydrator:
3635
interfaces:
3736
Dependencies: {}
37+
RepoGetter: {}
3838
github.com/argoproj/argo-cd/v3/pkg/apiclient/cluster:
3939
interfaces:
4040
ClusterServiceServer: {}

assets/swagger.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

commitserver/apiclient/mocks/Clientset.go

Lines changed: 4 additions & 91 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controller/appcontroller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1878,7 +1878,7 @@ func (ctrl *ApplicationController) processAppHydrateQueueItem() (processNext boo
18781878
return processNext
18791879
}
18801880

1881-
ctrl.hydrator.ProcessAppHydrateQueueItem(origApp)
1881+
ctrl.hydrator.ProcessAppHydrateQueueItem(origApp.DeepCopy())
18821882

18831883
log.WithFields(applog.GetAppLogFields(origApp)).Debug("Successfully processed app hydrate queue item")
18841884
return processNext

0 commit comments

Comments
 (0)