Replace @memoized_with_* with @memoized
@memoized_with_* was removed in [1]
[1] 123269dce7
Story: 2004175
Task: 27661
Change-Id: I39ff336b84448b231412a06e13aa876847453882
This commit is contained in:
parent
f137d1d926
commit
8d07328c91
@ -78,8 +78,8 @@ def _get_to_verify(insecure, cacert):
|
|||||||
return to_verify
|
return to_verify
|
||||||
|
|
||||||
|
|
||||||
@memoized.memoized_with_request(_get_auth_params_from_request)
|
@memoized.memoized
|
||||||
def monascaclient(request_auth_params, version=None):
|
def monascaclient(request, version=None):
|
||||||
|
|
||||||
(
|
(
|
||||||
user_domain_id,
|
user_domain_id,
|
||||||
@ -88,7 +88,7 @@ def monascaclient(request_auth_params, version=None):
|
|||||||
project_domain_id,
|
project_domain_id,
|
||||||
monasca_url,
|
monasca_url,
|
||||||
auth_url
|
auth_url
|
||||||
) = request_auth_params
|
) = _get_auth_params_from_request(request)
|
||||||
|
|
||||||
# NOTE(trebskit) this is bit hacky, we should
|
# NOTE(trebskit) this is bit hacky, we should
|
||||||
# go straight into using numbers as version representation
|
# go straight into using numbers as version representation
|
||||||
|
Loading…
Reference in New Issue
Block a user