From 8ae82037dde45019cae8912f45a36cf3a362c444 Mon Sep 17 00:00:00 2001 From: Doug Wiegley Date: Thu, 18 Aug 2016 09:06:04 +0000 Subject: [PATCH] Revert "HAProxy uses milliseconds ..." This is a backwards incompatible change, and lbaas has more than one backend driver. The correct documentation is seconds here. This reverts commit ec5881fd2cfb229b877803dc342a2ca35debc1d4. Change-Id: Ie0a3ee764887fa128b87811c3ecfeb81593e47a3 --- openstack/network/v2/health_monitor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openstack/network/v2/health_monitor.py b/openstack/network/v2/health_monitor.py index a0aea9328..1a636fe1b 100644 --- a/openstack/network/v2/health_monitor.py +++ b/openstack/network/v2/health_monitor.py @@ -35,7 +35,7 @@ class HealthMonitor(resource.Resource): ) # Properties - #: The time, in milliseconds, between sending probes to members. + #: The time, in seconds, between sending probes to members. delay = resource.Body('delay') #: Expected HTTP codes for a passing HTTP(S) monitor. expected_codes = resource.Body('expected_codes') @@ -53,7 +53,7 @@ class HealthMonitor(resource.Resource): pool_ids = resource.Body('pools', type=list) #: The ID of the project this health monitor is associated with. project_id = resource.Body('tenant_id') - #: The maximum number of milliseconds for a monitor to wait for a + #: The maximum number of seconds for a monitor to wait for a #: connection to be established before it times out. This value must #: be less than the delay value. timeout = resource.Body('timeout')