diff --git a/heatclient/common/environment_format.py b/heatclient/common/environment_format.py index c5f3e942..179a2055 100644 --- a/heatclient/common/environment_format.py +++ b/heatclient/common/environment_format.py @@ -16,8 +16,11 @@ from heatclient.openstack.common._i18n import _ import yaml -SECTIONS = (PARAMETER_DEFAULTS, PARAMETERS, RESOURCE_REGISTRY) = \ - ('parameter_defaults', 'parameters', 'resource_registry') +SECTIONS = ( + PARAMETER_DEFAULTS, PARAMETERS, RESOURCE_REGISTRY, EVENT_SINKS +) = ( + 'parameter_defaults', 'parameters', 'resource_registry', 'event_sinks' +) def parse(env_str): diff --git a/heatclient/tests/unit/test_environment_format.py b/heatclient/tests/unit/test_environment_format.py index faea505d..e4145b95 100644 --- a/heatclient/tests/unit/test_environment_format.py +++ b/heatclient/tests/unit/test_environment_format.py @@ -30,6 +30,7 @@ class YamlEnvironmentTest(testtools.TestCase): parameter_defaults: {} parameters: {} resource_registry: {} +event_sinks: {} ''' tpl1 = environment_format.parse(yaml1) environment_format.default_for_missing(tpl1)