Skip to content

Commit

Permalink
fix action set validate
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinAbro321 committed May 9, 2024
1 parent 8ee90df commit fe3aadb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/types/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,10 @@ func (as ZarfComponentActionSet) HasSetVariables() bool {
func (as ZarfComponentActionSet) Validate() error {
validate := func(actions []ZarfComponentAction) error {
for _, action := range actions {
return action.Validate()
if err := action.Validate(); err != nil {
return err
}
}

return nil
}

Expand Down

0 comments on commit fe3aadb

Please sign in to comment.