@@ -170,7 +170,7 @@ func (h *Hydrator) ProcessHydrationQueueItem(hydrationKey types.HydrationQueueKe
170170 logCtx = logCtx .WithFields (applog .GetAppLogFields (app ))
171171 logCtx .Errorf ("Failed to hydrate app: %v" , err )
172172 }
173- return
173+ return processNext
174174 }
175175 logCtx .WithField ("appCount" , len (relevantApps )).Debug ("Successfully hydrated apps" )
176176 finishedAt := metav1 .Now ()
@@ -198,7 +198,7 @@ func (h *Hydrator) ProcessHydrationQueueItem(hydrationKey types.HydrationQueueKe
198198 logCtx .WithField ("app" , app .QualifiedName ()).WithError (err ).Error ("Failed to request app refresh after hydration" )
199199 }
200200 }
201- return
201+ return processNext
202202}
203203
204204func (h * Hydrator ) hydrateAppsLatestCommit (logCtx * log.Entry , hydrationKey types.HydrationQueueKey ) ([]* appv1.Application , string , string , error ) {
@@ -286,9 +286,9 @@ func (h *Hydrator) hydrate(logCtx *log.Entry, apps []*appv1.Application) (string
286286 RepoURL : app .Spec .SourceHydrator .DrySource .RepoURL ,
287287 Path : app .Spec .SourceHydrator .DrySource .Path ,
288288 TargetRevision : app .Spec .SourceHydrator .DrySource .TargetRevision ,
289- Helm : app .Spec .SourceHydrator .DrySource .Helm ,
290- Kustomize : app .Spec .SourceHydrator .DrySource .Kustomize ,
291- Directory : app .Spec .SourceHydrator .DrySource .Directory ,
289+ Helm : app .Spec .SourceHydrator .DrySource .Helm ,
290+ Kustomize : app .Spec .SourceHydrator .DrySource .Kustomize ,
291+ Directory : app .Spec .SourceHydrator .DrySource .Directory ,
292292 }
293293 if targetRevision == "" {
294294 targetRevision = app .Spec .SourceHydrator .DrySource .TargetRevision
0 commit comments