Skip to content

Commit

Permalink
mistake in instantiating the api_client
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaffelson committed Jan 21, 2021
1 parent 3c3b97d commit 5464363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nipyapi/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ def check_version(base, comparator=None, service='nifi'):
try:
config = nipyapi.config.registry_config
if config.api_client is None:
config = nipyapi.registry.ApiClient()
config.api_client = nipyapi.registry.ApiClient()
reg_swagger_def = config.api_client.call_api(
resource_path='/swagger/swagger.json', method='GET', _preload_content=False,
auth_settings=['tokenAuth', 'Authorization']
Expand Down

0 comments on commit 5464363

Please sign in to comment.