chore(refactor): remove redundant rollback argument (#23627)

Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
This commit is contained in:
Alexandre Gaudreault
2025-07-02 18:32:31 -04:00
committed by GitHub
parent 1fbd63d095
commit 5ca752429e
13 changed files with 63 additions and 62 deletions

View File

@@ -525,7 +525,7 @@ func (s *Server) GetManifests(ctx context.Context, q *application.ApplicationMan
}
// Store the map of all sources having ref field into a map for applications with sources field
refSources, err := argo.GetRefSources(context.Background(), sources, appSpec.Project, s.db.GetRepository, []string{}, false)
refSources, err := argo.GetRefSources(context.Background(), sources, appSpec.Project, s.db.GetRepository, []string{})
if err != nil {
return fmt.Errorf("failed to get ref sources: %w", err)
}

View File

@@ -394,7 +394,7 @@ func (s *Server) GetAppDetails(ctx context.Context, q *repositorypkg.RepoAppDeta
refSources := make(v1alpha1.RefTargetRevisionMapping)
if app != nil && app.Spec.HasMultipleSources() {
// Store the map of all sources having ref field into a map for applications with sources field
refSources, err = argo.GetRefSources(ctx, app.Spec.Sources, q.AppProject, s.db.GetRepository, []string{}, false)
refSources, err = argo.GetRefSources(ctx, app.Spec.Sources, q.AppProject, s.db.GetRepository, []string{})
if err != nil {
return nil, fmt.Errorf("failed to get ref sources: %w", err)
}