Skip to content

Commit

Permalink
Fix typo in query string
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Brain <andrewbrain2019@gmail.com>
  • Loading branch information
ABrain7710 committed Feb 18, 2024
1 parent cc5921f commit e57331c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion augur/tasks/start_tasks.py
Expand Up @@ -339,7 +339,7 @@ def retry_errored_repos():
#TODO: Isaac needs to normalize the status's to be abstract in the
#collection_status table once augur dev is less unstable.
with DatabaseSession(logger,engine) as session:
query = s.sql.text(f"""UPDATE repo SET secondary_staus = {CollectionState.PENDING.value}"""
query = s.sql.text(f"""UPDATE repo SET secondary_status = {CollectionState.PENDING.value}"""
f""" WHERE secondary_status = '{CollectionState.ERROR.value}' ;"""
f"""UPDATE repo SET core_status = {CollectionState.PENDING.value}"""
f""" WHERE core_status = '{CollectionState.ERROR.value}' ;"""
Expand Down

0 comments on commit e57331c

Please sign in to comment.