Show updated data on Flavor Access tab
Memoization for api flavor_access_list should be limited to request so the updated data is shown after it's modified. Closes-bug: #1705958 Change-Id: Icf6716854502c2462569e12f00414950c915ca9b
This commit is contained in:
parent
99cd5bb25c
commit
221d1a25a4
|
@ -392,10 +392,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