Merge "Return empty list instead of None for tags"
This commit is contained in:
commit
4c5abb4909
@ -220,7 +220,7 @@ def format_stack(stack, preview=False, resolve_outputs=True):
|
||||
rpc_api.STACK_OWNER: stack.username,
|
||||
rpc_api.STACK_PARENT: stack.owner_id,
|
||||
rpc_api.STACK_USER_PROJECT_ID: stack.stack_user_project_id,
|
||||
rpc_api.STACK_TAGS: stack.tags or None,
|
||||
rpc_api.STACK_TAGS: stack.tags,
|
||||
}
|
||||
|
||||
if not preview:
|
||||
|
@ -397,7 +397,7 @@ class FormatTest(common.HeatTestCase):
|
||||
'outputs': [],
|
||||
'template_description': 'No description',
|
||||
'timeout_mins': None,
|
||||
'tags': None,
|
||||
'tags': [],
|
||||
'parameters': {
|
||||
'AWS::Region': 'ap-southeast-1',
|
||||
'AWS::StackId': aws_id,
|
||||
|
Loading…
Reference in New Issue
Block a user