summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-08-22 22:44:27 +0000
committerGerrit Code Review <review@openstack.org>2012-08-22 22:44:27 +0000
commit5aa8847cb679ad840dfa7286a2e08d0f6e905812 (patch)
treece6d4744e4467dcbf778abd8cde78d26a2042966
parent402f0813cac627e680d379806526a335269bae7c (diff)
parent80bf5e5e9541359d86e12958686f2678d220dd60 (diff)
Merge "Fix hyperv Cfgs: StrOpt to IntOpt"
-rw-r--r--nova/virt/hyperv/volumeops.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/virt/hyperv/volumeops.py b/nova/virt/hyperv/volumeops.py
index a8e5299c0..d15dfb68c 100644
--- a/nova/virt/hyperv/volumeops.py
+++ b/nova/virt/hyperv/volumeops.py
@@ -32,10 +32,10 @@ from nova.virt.hyperv import volumeutils
LOG = logging.getLogger(__name__)
hyper_volumeops_opts = [
- cfg.StrOpt('hyperv_attaching_volume_retry_count',
+ cfg.IntOpt('hyperv_attaching_volume_retry_count',
default=10,
help='The number of times we retry on attaching volume '),
- cfg.StrOpt('hyperv_wait_between_attach_retry',
+ cfg.IntOpt('hyperv_wait_between_attach_retry',
default=5,
help='The seconds to wait between an volume attachment attempt'),
]