From 6bea5f72e07519fa867c70c3882b25cc70cf6df2 Mon Sep 17 00:00:00 2001 From: Benedikt Ziemons Date: Thu, 19 Nov 2020 00:38:10 +0100 Subject: [PATCH] Remove quotation marks --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 168e723..a07aa8d 100644 --- a/main.py +++ b/main.py @@ -57,7 +57,7 @@ class PodKeeper: podman.play.kube(self.podyaml, *self.podnet_args) try: if 'NOTIFY_SOCKET' in os.environ: - sdnotify("--ready", f"--pid={os.getpid()}", "--status=\"Monitoring pod...\"") + sdnotify("--ready", f"--pid={os.getpid()}", "--status=Monitoring pod...") while not self.stopping.is_set(): self.waiter.wait() @@ -72,7 +72,7 @@ class PodKeeper: self.reload_pod() if 'NOTIFY_SOCKET' in os.environ: - sdnotify("--status=\"Stopping pod\"") + sdnotify("--status=Stopping pod") finally: self.stop_pod()