HAProxy uses milliseconds for its timeout values.
Match the cli docs to the reality of the implementation. Closes-Bug: 1600326 Change-Id: I1aa1d5a9f66f4b7d0866ddb98265a6e46ac25a4c
This commit is contained in:
parent
3832d5342f
commit
6ba4f31fbf
@ -66,7 +66,8 @@ class CreateHealthMonitor(neutronV20.CreateCommand):
|
||||
parser.add_argument(
|
||||
'--delay',
|
||||
required=True,
|
||||
help=_('The time in seconds between sending probes to members.'))
|
||||
help=_('The time in milliseconds between sending probes to '
|
||||
'members.'))
|
||||
parser.add_argument(
|
||||
'--max-retries',
|
||||
required=True,
|
||||
@ -75,8 +76,8 @@ class CreateHealthMonitor(neutronV20.CreateCommand):
|
||||
parser.add_argument(
|
||||
'--timeout',
|
||||
required=True,
|
||||
help=_('Maximum number of seconds for a monitor to wait for a '
|
||||
'connection to be established before it times out. The '
|
||||
help=_('Maximum number of milliseconds for a monitor to wait for '
|
||||
'a connection to be established before it times out. The '
|
||||
'value must be less than the delay value.'))
|
||||
parser.add_argument(
|
||||
'--type',
|
||||
|
Loading…
Reference in New Issue
Block a user