Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
Fixing issue with wait for inventory url in delete nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
tsorya committed Jun 24, 2020
1 parent 14d84fd commit fc58832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discovery-infra/bm_inventory_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,6 @@ def create_client(inventory_url=None, wait_for_url=True):
i_url = utils.get_service_url("bm-inventory")
log.info("Inventory URL %s", i_url)
client = InventoryClient(inventory_url=i_url)
if not wait_for_url:
if wait_for_url:
client.wait_for_api_readiness()
return client

0 comments on commit fc58832

Please sign in to comment.