Remove quotation marks
This commit is contained in:
parent
b38d18fcb6
commit
6bea5f72e0
4
main.py
4
main.py
|
@ -57,7 +57,7 @@ class PodKeeper:
|
||||||
podman.play.kube(self.podyaml, *self.podnet_args)
|
podman.play.kube(self.podyaml, *self.podnet_args)
|
||||||
try:
|
try:
|
||||||
if 'NOTIFY_SOCKET' in os.environ:
|
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():
|
while not self.stopping.is_set():
|
||||||
self.waiter.wait()
|
self.waiter.wait()
|
||||||
|
@ -72,7 +72,7 @@ class PodKeeper:
|
||||||
self.reload_pod()
|
self.reload_pod()
|
||||||
|
|
||||||
if 'NOTIFY_SOCKET' in os.environ:
|
if 'NOTIFY_SOCKET' in os.environ:
|
||||||
sdnotify("--status=\"Stopping pod\"")
|
sdnotify("--status=Stopping pod")
|
||||||
finally:
|
finally:
|
||||||
self.stop_pod()
|
self.stop_pod()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue