diff options
author | Stefan Seifert <nine@detonation.org> | 2017-04-10 18:55:50 +0200 |
---|---|---|
committer | Stefan Seifert <nine@detonation.org> | 2017-04-10 18:55:50 +0200 |
commit | 453fa29e1d5283255cc2c3eb61feb139028a7f03 (patch) | |
tree | 299f7664f12faf5a1d1a5f2f25566ce81ee2a1b9 | |
parent | a0deb624f3f5ba21cf0ded713d746cfceddfa96e (diff) |
Fix acknowledging outages
The internal command name is lower cased like the other commands.
Fixes "Cannot run action 'acknowledge'" errors.
-rwxr-xr-x | bin/icli | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1291,7 +1291,7 @@ sub action_on_service { time() ); say "Scheduled forced check of '$service' on '$host'"; } - when ('Acknowledge') { + when ('acknowledge') { dispatch_command( 'ACKNOWLEDGE_SVC_PROBLEM', $host, $service, 2, 1, 1, 'cli', $action_args[0] ); say "Acknowledged $host/$service: $action_args[0]"; |