From a908e61d1e9410ca68f2229dbabebdfdd805bcfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20L=C3=A4ssig?= Date: Fri, 1 Jul 2016 19:08:09 +0200 Subject: [PATCH] remove trailing whitespace --- check-systemd-service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check-systemd-service b/check-systemd-service index b90dfdc..8670091 100755 --- a/check-systemd-service +++ b/check-systemd-service @@ -125,7 +125,7 @@ class Service_Context(nagiosplugin.Context): def evaluate(self, metric, recource): # possible Values are: # nagiosplugin.Ok, nagiosplugin.Warn, nagiosplugin.Critical, nagiosplugin.Unknown - resultD = collections.defaultdict( lambda: nagiosplugin.Unknown, { + resultD = collections.defaultdict( lambda: nagiosplugin.Unknown, { 'active': nagiosplugin.Ok, 'reloading': nagiosplugin.Ok, 'activating': nagiosplugin.Ok, @@ -150,7 +150,7 @@ def main(): _log.debug('Found arguments %r', args) check = nagiosplugin.Check( Systemd_Service(**vars(args)), - Service_Context('service_state', fmt_metric="ServiceState is {value[0]}({value[1]})") + Service_Context('service_state', fmt_metric="ServiceState is {value[0]}({value[1]})"), ) check.main(args.verbose, args.timeout)