Update description 'resource_update_interval' option

Change-Id: I6e65f19cd0b993f225b35f27dd13e79de9df9cc2
This commit is contained in:
Huachao Mao 2017-09-05 16:43:31 +08:00
parent c49546b43f
commit 2ad4c95647
1 changed files with 5 additions and 3 deletions

View File

@ -62,7 +62,9 @@ OPTS = [
"the instance list to poll will be updated based "
"on this option's interval. Measurements relating "
"to the instances will match intervals "
"defined in pipeline. "),
"defined in pipeline. This option is only used "
"for agent polling to Nova API, so it will work only "
"when 'instance_discovery_method' is set to 'naive'."),
cfg.IntOpt('resource_cache_expiry',
default=3600,
min=0,
@ -72,8 +74,8 @@ OPTS = [
"local cache by totally refreshing the local cache. "
"The minimum should be the value of the config option "
"of resource_update_interval. This option is only used "
"for agent polling to Nova API, so it will works only "
"when 'instance_discovery_method' was set to 'naive'.")
"for agent polling to Nova API, so it will work only "
"when 'instance_discovery_method' is set to 'naive'.")
]
LOG = log.getLogger(__name__)