Skip to content

Commit

Permalink
fix issues with new rollback parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
djeebus committed Dec 4, 2024
1 parent 9395543 commit 220c5cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/argo_client/manifests.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func (a *ArgoClient) generateManifests(ctx context.Context, app v1alpha1.Applica
return nil, fmt.Errorf("error getting settings enabled source types: %w", err)
}

refSources, err := argo.GetRefSources(context.Background(), app.Spec, argoDB)
refSources, err := argo.GetRefSources(context.Background(), app.Spec.Sources, app.Spec.Project, argoDB.GetRepository, []string{}, false)
if err != nil {
return nil, fmt.Errorf("failed to get ref sources: %w", err)
}
Expand Down

0 comments on commit 220c5cb

Please sign in to comment.