Grammatical fixes for cache expiry feature
This updates a warning string and the release notes for the IRONICCLIENT_CACHE_EXPIRY environment variable feature. This is a follow-on to I2bc77c64b764f6c22574a30b0e5af4ca6feff29f. Change-Id: I6db04a2c93997e594cf6d6c967fe718fc902a79b
This commit is contained in:
parent
8cbbb60560
commit
09452a7301
|
@ -49,8 +49,8 @@ def _get_cache():
|
|||
expiry_time = int(expiry_time)
|
||||
except ValueError:
|
||||
LOG.warning(_LW("Environment variable %(env_var)s should be an "
|
||||
"integer (not '%(curr_val)s') using default "
|
||||
"timeout of %(default)s instead"),
|
||||
"integer (not '%(curr_val)s'). Using default "
|
||||
"expiry of %(default)s seconds instead."),
|
||||
{'env_var': CACHE_EXPIRY_ENV_VAR,
|
||||
'curr_val': expiry_time,
|
||||
'default': DEFAULT_EXPIRY})
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
features:
|
||||
- Add support for specifying the version cache timeout via an environment
|
||||
variable (IRONICCLIENT_CACHE_EXPIRY).
|
||||
- Add support for specifying the expiry (in seconds) of the caching
|
||||
of the ironic API version, via the environment variable
|
||||
"IRONICCLIENT_CACHE_EXPIRY".
|
||||
|
|
Loading…
Reference in New Issue