An environment file containing the following:
properties:
Results in the following error:
File "/home/steveb/dev/localstack/heat/heat/api/openstack/v1/stacks.py",
line 132, in environment
env[self.PARAM_USER_PARAMS].update(parameters)
AttributeError: 'NoneType' object has no attribute 'update'
Change-Id: I7b36d797383cc3c74d4d0c77c283564b01aa6a6b
reason = _("%s not in valid in the environment") % field
raise exc.HTTPBadRequest(reason)
- if self.PARAM_USER_PARAMS not in env:
+ if not env.get(self.PARAM_USER_PARAMS):
env[self.PARAM_USER_PARAMS] = {}
parameters = self.data.get(self.PARAM_USER_PARAMS, {})