nagios: Fix check_postgres_replication_lag.

This expects to be run outside a virtualenv and thus without
typing_extensions available.
This commit is contained in:
Tim Abbott 2020-05-03 00:14:31 -07:00
parent 7271fb68aa
commit 4034f6f99e
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ states = {
"UNKNOWN": 3
}
def report(state: str, msg: str) -> NoReturn:
def report(state: str, msg: str) -> "NoReturn":
print("%s: %s" % (state, msg))
exit(states[state])