From 2c0f4a81a7ba0f89059d516dfc383bed0d156762 Mon Sep 17 00:00:00 2001 From: Andrew Bays Date: Fri, 1 Dec 2023 17:42:40 +0000 Subject: [PATCH] Use standard pattern to initialization Heat defaults --- main.go | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/main.go b/main.go index fe81b54dc..7e75a188c 100644 --- a/main.go +++ b/main.go @@ -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()