Skip to content

Commit

Permalink
Use standard pattern to initialization Heat defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
abays committed Dec 1, 2023
1 parent 7e7add2 commit 2c0f4a8
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,13 +282,7 @@ func setupServiceOperatorDefaults() {
placementv1.SetupDefaults()

// Heat
heatDefaults := heatv1.HeatDefaults{
APIContainerImageURL: os.Getenv("RELATED_IMAGE_HEAT_API_IMAGE_URL_DEFAULT"),
CfnAPIContainerImageURL: os.Getenv("RELATED_IMAGE_HEAT_CFNAPI_IMAGE_URL_DEFAULT"),
EngineContainerImageURL: os.Getenv("RELATED_IMAGE_HEAT_ENGINE_IMAGE_URL_DEFAULT"),
}

heatv1.SetupHeatDefaults(heatDefaults)
heatv1.SetupDefaults()

// Redis
redisv1.SetupDefaults()
Expand Down

0 comments on commit 2c0f4a8

Please sign in to comment.