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 ec5881fd2c.

Change-Id: Ie0a3ee764887fa128b87811c3ecfeb81593e47a3
This commit is contained in:
Doug Wiegley 2016-08-18 09:06:04 +00:00 committed by Michael Johnson
parent ea266f8d77
commit 8ae82037dd
1 changed files with 2 additions and 2 deletions

View File

@ -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')