Removes info about deleted function should_cache_fn

should_cache_fn function is removed from keystone when oslo_cache
was adopted. A function still mentions about it. This patch updates
the doc string mentioning about should_cache_fn.

Change-Id: Ib9693f1c020e0ed251d4119c0fbf8ffef693102a
This commit is contained in:
Vishakha Agarwal 2020-04-27 23:06:30 +05:30
parent 07abf2fa4d
commit 51ecd5e959
1 changed files with 2 additions and 2 deletions

View File

@ -143,8 +143,8 @@ def skip_if_cache_disabled(*sections):
arguments to only check global caching.
If a specified configuration section does not define the `caching` option,
this decorator makes the same assumption as the `should_cache_fn` in
keystone.common.cache that caching should be enabled.
this decorator makes the caching enabled if `enabled` option in the `cache`
section of the configuration is true.
"""
def wrapper(f):