Skip to content

Commit

Permalink
add prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
Barber authored and Barber committed Dec 14, 2023
1 parent 29eabb7 commit f8f3444
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions backend/internal/processes/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,10 @@ func installGateway(store database.Datastore, appConfig *config.AppConfig, prefi
simplevars["mgmt_dns"] = appConfig.ConsoleHost
variables := marketplace.Install_Variables{Values: simplevars}
applications := marketplace.Install_Applications{
Name: fmt.Sprintf("%s-%s", prefix, "unity-proxy"),
Name: "unity-proxy",
Version: "0.1",
Variables: &variables,
Displayname: "unity-proxy",
Displayname: fmt.Sprintf("%s-%s", prefix, "unity-proxy"),
}
install := marketplace.Install{
Applications: &applications,
Expand All @@ -195,9 +195,10 @@ func installGateway(store database.Datastore, appConfig *config.AppConfig, prefi

func installBasicAPIGateway(store database.Datastore, appConfig *config.AppConfig, prefix string) error {
applications := marketplace.Install_Applications{
Name: fmt.Sprintf("%s-%s", prefix, "unity-apigateway"),
Version: "0.1",
Variables: nil,
Name: "unity-apigateway",
Version: "0.1",
Variables: nil,
Displayname: fmt.Sprintf("%s-%s", prefix, "unity-apigateway"),
}
install := marketplace.Install{
Applications: &applications,
Expand Down

0 comments on commit f8f3444

Please sign in to comment.