summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2008-01-23 16:05:19 +0100
committerTobi Oetiker <tobi@oetiker.ch>2008-01-23 16:05:19 +0100
commitd39831a3c4296fe4f56bf9b7e48bb443ad9239fc (patch)
tree4cdc27fead436562f012d4966a9b831701392924 /lib
parent95a4c5498b09ed883af512142c860c57bc65d0c0 (diff)
downloadsmokeping-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.pm2
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.