Skip to content

Commit

Permalink
Fixed go lint errors
Browse files Browse the repository at this point in the history
Signed-off-by: anandf <anjoseph@redhat.com>
  • Loading branch information
anandf committed Mar 26, 2024
1 parent 815e743 commit 06f2c6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/argocd/commands/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -999,8 +999,8 @@ func printProject(p *v1alpha1.AppProject, scopedRepositories []*v1alpha1.Reposit
destServiceAccounts = fmt.Sprintf("%s,%s,%s", p.Spec.DestinationServiceAccounts[0].Server, p.Spec.DestinationServiceAccounts[0].Namespace, p.Spec.DestinationServiceAccounts[0].DefaultServiceAccount)
}
fmt.Printf(printProjFmtStr, "DestinationServiceAccounts:", destServiceAccounts)
for i := 1; i < len(p.Spec.Destinations); i++ {
fmt.Printf(printProjFmtStr, "", fmt.Sprintf("%s,%s", p.Spec.DestinationServiceAccounts[i].Server, p.Spec.DestinationServiceAccounts[i].Namespace, p.Spec.DestinationServiceAccounts[i].DefaultServiceAccount))
for i := 1; i < len(p.Spec.DestinationServiceAccounts); i++ {
fmt.Printf(printProjFmtStr, "", fmt.Sprintf("%s,%s,%s", p.Spec.DestinationServiceAccounts[i].Server, p.Spec.DestinationServiceAccounts[i].Namespace, p.Spec.DestinationServiceAccounts[i].DefaultServiceAccount))
}

}
Expand Down

0 comments on commit 06f2c6b

Please sign in to comment.