Skip to content

Commit

Permalink
Fix golint
Browse files Browse the repository at this point in the history
  • Loading branch information
adriananeci committed Dec 4, 2024
1 parent b668acd commit 9ef0222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/argo/argo.go
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ func ValidateDestination(ctx context.Context, dest *argoappv1.ApplicationDestina
if dest.Name == "" {
serverName, err := getDestinationServerName(ctx, db, dest.Server)
if err != nil {
return fmt.Errorf("unable to find destination server: %v", err)
return fmt.Errorf("unable to find destination server: %w", err)
}
if serverName == "" {
return fmt.Errorf("application references destination cluster %s which does not exist", dest.Server)
Expand Down

0 comments on commit 9ef0222

Please sign in to comment.