Fix the wrong time unit for OS::Octavia::HealthMonitor

Unit of both 'delay' and 'timeout' should be seconds based on Octavia
API doc
https://docs.openstack.org/api-ref/load-balancer/v2/index.html?expanded=create-health-monitor-detail#id105

Change-Id: I6de88e687ff95432ddbd0547a7f5759e18d7749e
Story: 2006637
Task: 36852
(cherry picked from commit ad841b4483)
This commit is contained in:
Lingxian Kong 2019-09-28 23:30:58 +12:00 committed by Pavlo Shchelokovskyy
parent 759bfae5b8
commit 369d0c1630
1 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ class HealthMonitor(octavia_base.OctaviaBase):
),
DELAY: properties.Schema(
properties.Schema.INTEGER,
_('The minimum time in milliseconds between regular connections '
_('The minimum time in seconds between regular connections '
'of the member.'),
required=True,
update_allowed=True,
@ -95,7 +95,7 @@ class HealthMonitor(octavia_base.OctaviaBase):
),
TIMEOUT: properties.Schema(
properties.Schema.INTEGER,
_('Maximum number of milliseconds for a monitor to wait for a '
_('Maximum number of seconds for a monitor to wait for a '
'connection to be established before it times out.'),
required=True,
update_allowed=True,