Ema has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/382676 )
Change subject: pybal: add missing curly bracket to check_pybal
......................................................................
pybal: add missing curly bracket to check_pybal
The changes introduced in 95e365b81f7f37bb35a3e412547da9266a48e630 are
syntactically incorrect because of a missing curly bracket. Fix that.
Change-Id: Iacc69330ef89326294ddbf295261132c7f51281a
---
M modules/pybal/files/check_pybal
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
Giuseppe Lavagetto: Looks good to me, but someone else must approve
Ema: Verified; Looks good to me, approved
diff --git a/modules/pybal/files/check_pybal b/modules/pybal/files/check_pybal
index e1b921a..ef818b0 100755
--- a/modules/pybal/files/check_pybal
+++ b/modules/pybal/files/check_pybal
@@ -32,6 +32,7 @@
if ($r->is_success) {
if ($r->content =~ "^OK") {
$np->nagios_exit(OK, "All pools are healthy");
+ }
elsif ($r->content =~ "^WARNING") {
$np->nagios_exit(WARNING, $r->content);
} else {
--
To view, visit https://gerrit.wikimedia.org/r/382676
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iacc69330ef89326294ddbf295261132c7f51281a
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ema <[email protected]>
Gerrit-Reviewer: Ema <[email protected]>
Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits