Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cli interface not properly using scheme and api-port arguments #127

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gCarlNoiseux
Copy link

Instanciation of Consul instance in cli.py file uses positional arguments that do not match with the init declaration of the class, resulting in host parameter being used for addr, port for host and scheme for token.

Using keyword arguments instead solves the issue and makes it more robust to function definition changes down the line.

…ents that do not match with the __init__ declaration of the class, resulting host parameter being used for addr, port for host and scheme for token. Using keyword arguments instead solves the issue and makes it more robust to function definition changes.
@gCarlNoiseux gCarlNoiseux changed the title Instanciation of Consul instance in cli.py file uses positional argum… Cli interface not properly using scheme and api-port arguments Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants