diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2007-10-15 09:44:40 +0200 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2007-10-15 09:44:40 +0200 |
commit | 03d504e82b3e6c77c0b59af415ff740de1b483f3 (patch) | |
tree | dec2e51a972b942a1328b62521d32bbae6f3b2df | |
parent | ee70defccd3a3f4d9a7830ba2783c145a8c215ae (diff) | |
download | smokeping-03d504e82b3e6c77c0b59af415ff740de1b483f3.tar.gz smokeping-03d504e82b3e6c77c0b59af415ff740de1b483f3.tar.xz |
I wonder how it did work at all like this
-rw-r--r-- | lib/Smokeping.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm index 5a44b3e..a5f231c 100644 --- a/lib/Smokeping.pm +++ b/lib/Smokeping.pm @@ -1956,8 +1956,8 @@ DOC If you want to have alerts for this target and all targets below it go to a particular address on top of the address already specified in the alert, you can add it here. This can be a comma separated list of items. DOC - slaves => { _re => '${KEYD_RE}(?:\s+${KEYD_RE})*', - _re_error => 'slave1 [slave2]', + slaves => { _re => "${KEYD_RE}(:?\\s+${KEYD_RE})*", + _re_error => 'Use the format: slaves='.${KEYD_RE}.' [slave2]', _doc => <<DOC }, The slave names must match the slaves you have setup in the slaves section. DOC |