diff --git a/build/cicd/internal/config/service.go b/build/cicd/internal/config/service.go index 376c756..d225ea3 100644 --- a/build/cicd/internal/config/service.go +++ b/build/cicd/internal/config/service.go @@ -203,7 +203,7 @@ func NewServiceContext(serviceName Service, cfg *devdeploy.Config) (*ServiceCont // Define the ServiceContext for the web-app that will be used for build and deploy. case ServiceWebApp: - ctx := &ServiceContext{ + ctx = &ServiceContext{ ServiceConfig: webAppCfg, } @@ -310,7 +310,7 @@ func NewServiceContext(serviceName Service, cfg *devdeploy.Config) (*ServiceCont // Define the ServiceContext for the web-api that will be used for build and deploy. case ServiceWebApi: - ctx := &ServiceContext{ + ctx = &ServiceContext{ ServiceConfig: webApiCfg, }