Merge "Replace missing tag with "" instead of None"

This commit is contained in:
Jenkins 2015-09-14 19:05:27 +00:00 committed by Gerrit Code Review
commit 39977d84a9

View File

@ -93,9 +93,9 @@ def build_v3_tags_payload(logical_entity):
neutron-id:<resource-id>
"""
return [{"scope": "neutron-id",
"tag": logical_entity.get("id")},
"tag": logical_entity.get("id", "")},
{"scope": "os-tid",
"tag": logical_entity.get("tenant_id")},
"tag": logical_entity.get("tenant_id", "")},
{"scope": "os-api-version",
"tag": version.version_info.release_string()}]