Browse Source

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)
tags/11.0.3
Lingxian Kong Rico Lin 8 months ago
parent
commit
ef7c9c05c3
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      heat/engine/resources/openstack/octavia/health_monitor.py

+ 2
- 2
heat/engine/resources/openstack/octavia/health_monitor.py 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,


Loading…
Cancel
Save