diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2008-01-23 16:05:19 +0100 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2008-01-23 16:05:19 +0100 |
commit | d39831a3c4296fe4f56bf9b7e48bb443ad9239fc (patch) | |
tree | 4cdc27fead436562f012d4966a9b831701392924 /lib | |
parent | 95a4c5498b09ed883af512142c860c57bc65d0c0 (diff) | |
download | smokeping-d39831a3c4296fe4f56bf9b7e48bb443ad9239fc.tar.gz smokeping-d39831a3c4296fe4f56bf9b7e48bb443ad9239fc.tar.xz |
allow empty slaves list to remove inherited slave list
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Smokeping.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm index e142f78..0eff9b5 100644 --- a/lib/Smokeping.pm +++ b/lib/Smokeping.pm @@ -2175,7 +2175,7 @@ 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})*", + 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. |