Skip to content

Commit

Permalink
Merge pull request #127 from 3scale-qe/wait-409
Browse files Browse the repository at this point in the history
Wait for tenant also on 409 error
  • Loading branch information
Marian Ganisin authored Jul 24, 2022
2 parents 0a422f3 + cb83f09 commit 829d8c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion threescale_api/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def wait_for_tenant(self) -> bool:
and self.services.exists(throws=True) \
and len(self.services.list()) >= 1
except errors.ApiClientError as err:
if err.code in (404, 503):
if err.code in (404, 409, 503):
log.info("wait_for_tenant failed: %s", err)
return False
raise err
Expand Down

0 comments on commit 829d8c1

Please sign in to comment.