Skip to content

Commit

Permalink
refactor(install): include validationNRQL as install validation fallb…
Browse files Browse the repository at this point in the history
…ack to validationIntegration
  • Loading branch information
sanderblue committed Oct 5, 2023
1 parent 7267381 commit db883c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/install/recipe_installer.go
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,9 @@ func (i *RecipeInstall) validateRecipeViaAllMethods(ctx context.Context, r *type
validationFuncs = append(validationFuncs, func() (string, error) {
return validation.ValidateIntegration(integrationName)
})
} else if hasValidationNRQL {
}

if hasValidationNRQL {
validationFuncs = append(validationFuncs, func() (string, error) {
return i.recipeValidator.ValidateRecipe(timeoutCtx, *m, *r, vars)
})
Expand Down

0 comments on commit db883c1

Please sign in to comment.