Merge "Use the default flavor name when flavor parameter is not defined"

This commit is contained in:
Zuul 2020-10-28 17:02:05 +00:00 committed by Gerrit Code Review
commit afdd4c4cf4
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class LookupModule(LookupBase):
return {
'name': role['name'],
'count': role.get('CountDefault', 0),
'flavor': None
'flavor': role.get('FlavorDefault', 'baremetal')
}
roles = list(map(default_role_data, roles_data))