Adjust some completion messages

This commit is contained in:
2022-07-06 18:49:29 +00:00
parent b0fb48925f
commit 61f7f33c92
3 changed files with 5 additions and 3 deletions

View File

@ -274,7 +274,7 @@ def entrypoint():
def term(signum="", frame=""):
print("Received TERM, exiting.")
notifications.send_webhook(config, "begin", "Received TERM, exiting pvcbootstrapd")
notifications.send_webhook(config, "completed", "Received TERM, exiting pvcbootstrapd")
cleanup(0)
signal.signal(signal.SIGTERM, term)