Commit 2c11d16b authored by Thomas Gambier's avatar Thomas Gambier

slapos.cookbook: re6st token manager shouldn't fail is status doesn't exist

parent 9c99b678
Pipeline #40084 failed with stage
in 0 seconds
......@@ -114,7 +114,7 @@ def requestRemoveToken(client, token_base_path):
reference)
request_file.unlink()
status_file = request_file.with_suffix('.status')
status_file.unlink()
status_file.unlink(missing_ok=True)
ipv6_file = request_file.with_suffix('.ipv6')
ipv6_file.unlink(missing_ok=True)
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment