Skip to content

Commit

Permalink
Added TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
sveinugu committed Jul 11, 2023
1 parent c938fb9 commit 581ca1c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/crypt4gh_recryptor_service/compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ async def get_compute_key_info(
settings.private_key_comment,
verbose=settings.dev_mode)
elif existing_key_files == 1:
# TODO: Fix special case when key expires in between the checks of the public and private
# keys. Suggestion: allow a couple of retries.
raise Exception('Only one of the compute node public/private keypair files exists!'
f' Key id: {compute_public_key_file.key_id}')
else:
Expand Down

0 comments on commit 581ca1c

Please sign in to comment.