Skip to content

Commit

Permalink
Merge pull request #239 from lxbsz/fix
Browse files Browse the repository at this point in the history
gwcli: fix api_endpoint AttributeError

Reviewed-by: Ilya Dryomov <[email protected]>
  • Loading branch information
idryomov authored Jul 5, 2021
2 parents ae27f50 + 09c98b2 commit b1a608a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gwcli.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def main():
root_node.refresh()
if root_node.error:
print("Unable to contact the local API endpoint "
"({})".format(settings.config.api_endpoint))
"({})".format(root_node.local_api))
sys.exit(-1)

# Account for invocation which includes a command to run i.e. batch mode
Expand Down

0 comments on commit b1a608a

Please sign in to comment.