Skip to content

Commit

Permalink
Merge pull request #790 from newrelic/fix/successLinkConfig
Browse files Browse the repository at this point in the history
fix(targeted-install): include successLinkConfig in Recipe
  • Loading branch information
Gabe O'Brien authored Apr 1, 2021
2 parents 2646fc8 + 1a1b4a2 commit 75053b1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
27 changes: 14 additions & 13 deletions internal/install/recipes/service_recipe_fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,19 +237,20 @@ func createRecipes(results []types.OpenInstallationRecipe) []types.Recipe {

func createRecipe(result types.OpenInstallationRecipe) types.Recipe {
return types.Recipe{
ID: result.ID,
Description: result.Description,
DisplayName: result.DisplayName,
File: result.File,
InstallTargets: result.InstallTargets,
Keywords: result.Keywords,
LogMatch: createLogMatches(result.LogMatch),
Name: result.Name,
ProcessMatch: result.ProcessMatch,
Repository: result.Repository,
ValidationNRQL: string(result.ValidationNRQL),
PreInstall: result.PreInstall,
PostInstall: result.PostInstall,
ID: result.ID,
Description: result.Description,
DisplayName: result.DisplayName,
File: result.File,
InstallTargets: result.InstallTargets,
Keywords: result.Keywords,
LogMatch: createLogMatches(result.LogMatch),
Name: result.Name,
ProcessMatch: result.ProcessMatch,
Repository: result.Repository,
ValidationNRQL: string(result.ValidationNRQL),
PreInstall: result.PreInstall,
PostInstall: result.PostInstall,
SuccessLinkConfig: result.SuccessLinkConfig,
}
}

Expand Down
2 changes: 2 additions & 0 deletions internal/install/types/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 75053b1

Please sign in to comment.