Merge "Show updated data on Flavor Access tab" into stable/pike
This commit is contained in:
commit
419e240ce7
|
@ -395,10 +395,10 @@ def flavor_list_paged(request, is_public=True, get_extras=False, marker=None,
|
|||
|
||||
|
||||
@profiler.trace
|
||||
@memoized_with_request(novaclient)
|
||||
def flavor_access_list(nova_api, flavor=None):
|
||||
@memoized
|
||||
def flavor_access_list(request, flavor=None):
|
||||
"""Get the list of access instance sizes (flavors)."""
|
||||
return nova_api.flavor_access.list(flavor=flavor)
|
||||
return novaclient(request).flavor_access.list(flavor=flavor)
|
||||
|
||||
|
||||
@profiler.trace
|
||||
|
|
Loading…
Reference in New Issue