change k8s startup probe script to function call

This commit is contained in:
francisco.schulz 2023-06-20 17:04:03 +02:00
parent 7e995bd78b
commit d63435e092

View File

@ -29,7 +29,7 @@ def check_token_file():
return False
if __name__ == "__main__":
def run_checks():
if check_token_file():
sys.exit(0)
else: