diff --git a/broker/update_app_environment.go b/broker/update_app_environment.go index c1c68a2..c4df082 100755 --- a/broker/update_app_environment.go +++ b/broker/update_app_environment.go @@ -14,7 +14,7 @@ func (broker *SCSBroker) UpdateAppEnvironment(cfClient *ccv3.Client, app *ccv3.A var hostKeySetSSH bool = false var profiles []string - var envVarToSet ccv3.EnvironmentVariables + envVarToSet := make(ccv3.EnvironmentVariables) for key, value := range params { envVarToSet[key] = *types.NewFilteredString(value)