mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/haproxy: switch to TextField to support time format
This commit is contained in:
committed by
Franco Fichtner
parent
0db7b0db34
commit
b2494970c7
@@ -610,17 +610,13 @@
|
||||
<ValidationMessage>Please specify a value between 0 and 256.</ValidationMessage>
|
||||
<Required>N</Required>
|
||||
</weight>
|
||||
<checkInterval type="IntegerField">
|
||||
<checkInterval type="TextField">
|
||||
<default>2s</default>
|
||||
<MinimumValue>1</MinimumValue>
|
||||
<MaximumValue>10000000</MaximumValue>
|
||||
<mask>/^([0-9]{1,8}(?:us|ms|s|m|h|d)?)/u</mask>
|
||||
<ValidationMessage>Should be a number between 1 and 8 characters, optionally followed by either "d", "h", "m", "s", "ms" or "us".</ValidationMessage>
|
||||
<Required>Y</Required>
|
||||
</checkInterval>
|
||||
<checkDownInterval type="IntegerField">
|
||||
<MinimumValue>1</MinimumValue>
|
||||
<MaximumValue>10000000</MaximumValue>
|
||||
<checkDownInterval type="TextField">
|
||||
<mask>/^([0-9]{1,8}(?:us|ms|s|m|h|d)?)/u</mask>
|
||||
<ValidationMessage>Should be a number between 1 and 8 characters, optionally followed by either "d", "h", "m", "s", "ms" or "us".</ValidationMessage>
|
||||
<Required>N</Required>
|
||||
|
||||
Reference in New Issue
Block a user