mirror of
https://github.com/argoproj/argo-cd.git
synced 2026-02-20 01:28:45 +01:00
chore(refactor): remove redundant rollback argument (#23627)
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
This commit is contained in:
committed by
GitHub
parent
1fbd63d095
commit
5ca752429e
@@ -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)
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user