Loading magma/hackfest_squid_cnf/charms/squid/src/charm.py +1 −1 Original line number Diff line number Diff line Loading @@ -110,7 +110,7 @@ class SquidK8SCharm(CharmBase): if line_deleted: event.set_results({"output": "URL deleted succesfully"}) subprocess.check_output("kill -HUP `cat /var/run/squid.pid`", shell=True) subprocess.Popen("sleep 1 && kill -HUP `cat /var/run/squid.pid`", shell=True) else: event.fail("No URL was deleted") Loading Loading
magma/hackfest_squid_cnf/charms/squid/src/charm.py +1 −1 Original line number Diff line number Diff line Loading @@ -110,7 +110,7 @@ class SquidK8SCharm(CharmBase): if line_deleted: event.set_results({"output": "URL deleted succesfully"}) subprocess.check_output("kill -HUP `cat /var/run/squid.pid`", shell=True) subprocess.Popen("sleep 1 && kill -HUP `cat /var/run/squid.pid`", shell=True) else: event.fail("No URL was deleted") Loading