summaryrefslogtreecommitdiffstats
path: root/nova/virt
diff options
context:
space:
mode:
authorZhongyue Luo <lzyeval@gmail.com>2012-05-16 06:01:43 +0000
committerZhongyue Luo <lzyeval@gmail.com>2012-05-16 08:19:21 +0000
commitdc9c3cb3e376e6af263e4ffae88471317f830e0a (patch)
treef0d17c9925475c44f47e672265849d7e4e189b4a /nova/virt
parent823a114727e514f153b500a16c7cad98253300f5 (diff)
Misused and not used config options
Fixes bug #1000071 [nova.flag.py] stub_network: StrOpt -> BoolOpt [nova.api.sizelimit.py] osapi_max_request_body_size: BoolOpt -> IntOpt [nova.compute.api.py] find_host_timeout: not used [nova.rpc.__init__.py] allowed_rpc_exception_modules: IntOpt -> ListOpt [nova.virt.vmwareapi_conn.py] vmwareapi_api_retry_count: FloatOpt -> IntOpt [nova.volume.driver.py] num_shell_tries: StrOpt -> IntOpt num_iscsi_scan_tries: StrOpt -> IntOpt [nova.volume.driver.py] san_thin_provision: 'true' -> True san_is_local: 'false' -> False Change-Id: I07ab60b1d881c9475f4f2517a432f1e934d8ae52
Diffstat (limited to 'nova/virt')
-rw-r--r--nova/virt/vmwareapi_conn.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/nova/virt/vmwareapi_conn.py b/nova/virt/vmwareapi_conn.py
index 7fde10e5d..388126c68 100644
--- a/nova/virt/vmwareapi_conn.py
+++ b/nova/virt/vmwareapi_conn.py
@@ -69,11 +69,11 @@ vmwareapi_opts = [
default=5.0,
help='The interval used for polling of remote tasks. '
'Used only if connection_type is vmwareapi'),
- cfg.FloatOpt('vmwareapi_api_retry_count',
- default=10,
- help='The number of times we retry on failures, e.g., '
- 'socket error, etc. '
- 'Used only if connection_type is vmwareapi'),
+ cfg.IntOpt('vmwareapi_api_retry_count',
+ default=10,
+ help='The number of times we retry on failures, e.g., '
+ 'socket error, etc. '
+ 'Used only if connection_type is vmwareapi'),
cfg.StrOpt('vmwareapi_vlan_interface',
default='vmnic0',
help='Physical ethernet adapter name for vlan networking'),