Alexandros Kosiaris has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/310808

Change subject: postgres: Fix typo in replication lag check
......................................................................

postgres: Fix typo in replication lag check

Added by mistake a True there

Change-Id: Ica151c5204f6644d5fd86ee672082ccfcdc64642
---
M modules/postgresql/files/check_postgres_replication_lag.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/08/310808/1

diff --git a/modules/postgresql/files/check_postgres_replication_lag.py 
b/modules/postgresql/files/check_postgres_replication_lag.py
index ab1737b..2139426 100644
--- a/modules/postgresql/files/check_postgres_replication_lag.py
+++ b/modules/postgresql/files/check_postgres_replication_lag.py
@@ -114,7 +114,7 @@
 
 
 # return results and graphing data to Nagios
-def nagios_delay(delay, optionsTrue):
+def nagios_delay(delay, options):
     warn = float(options.warn)
     crit = float(options.crit)
     #pop delay out of list and get float out of tuple for direct comparison to 
warn/crit float values

-- 
To view, visit https://gerrit.wikimedia.org/r/310808
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ica151c5204f6644d5fd86ee672082ccfcdc64642
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to