Created
February 17, 2017 08:18
-
-
Save BlackDex/e3a7614356c2509a65f6d77162c5186f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- common.py.org 2017-02-16 14:22:08.373192652 +0000 | |
+++ common.py 2017-02-16 14:22:25.066235624 +0000 | |
@@ -171,7 +171,7 @@ | |
elif 'command' in extra: | |
cmd_args.extend(('-c', extra['command'])) | |
else: | |
- return False | |
+ cmd_args.extend(('-c', extra)) | |
check_command = _make_check_command(cmd_args) | |
cmd = '%s!%s' % (check_command, '!'.join([str(x) for x in args])) | |
service.set_attribute('check_command', cmd) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment