Skip to content

Commit

Permalink
Merge pull request #2687 from chaoss/hotfix-typo-in-query
Browse files Browse the repository at this point in the history
Fix typo in query string
  • Loading branch information
sgoggins committed Feb 18, 2024
2 parents cc5921f + e57331c commit f10821e
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 f10821e

Please sign in to comment.