diff options
author | Lingxian Kong <anlin.kong@gmail.com> | 2019-09-28 23:30:58 +1200 |
---|---|---|
committer | Pavlo Shchelokovskyy <pshchelokovskyy@mirantis.com> | 2019-12-27 16:02:33 +0000 |
commit | 369d0c163029e90a4b2b6540eaf585f3da8cae3d (patch) | |
tree | 91aa62124f899874285e76fff0b620f68286aa88 | |
parent | 759bfae5b8494de545e5d997441d4991ce6d53fe (diff) | |
download | heat-369d0c163029e90a4b2b6540eaf585f3da8cae3d.tar.gz |
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 ad841b4483eeba9dfd0ccd8f8b4c5d5fd3e15cc1)
-rw-r--r-- | heat/engine/resources/openstack/octavia/health_monitor.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/heat/engine/resources/openstack/octavia/health_monitor.py b/heat/engine/resources/openstack/octavia/health_monitor.py index 87d2edc27..a2af07bb0 100644 --- a/heat/engine/resources/openstack/octavia/health_monitor.py +++ b/heat/engine/resources/openstack/octavia/health_monitor.py @@ -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, |