Skip to content

Commit

Permalink
fix: return nil if reading application set was successful (#12261)
Browse files Browse the repository at this point in the history
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
  • Loading branch information
ishitasequeira committed Feb 3, 2023
1 parent b17007b commit da46381
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/util/applicationset.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ func readAppset(yml []byte, appsets *[]*argoprojiov1alpha1.ApplicationSet) error
*appsets = append(*appsets, &appset)

}

return fmt.Errorf("error reading app set: %w", err)
// we reach here if there is no error found while reading the Application Set
return nil
}

0 comments on commit da46381

Please sign in to comment.