Skip to content

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

Open
gCarlNoiseux wants to merge 2 commits intogmr:masterfrom
gCarlNoiseux:fix-cli-args-instead-of-kwargs
Open

Cli interface not properly using scheme and api-port arguments#127
gCarlNoiseux wants to merge 2 commits intogmr:masterfrom
gCarlNoiseux:fix-cli-args-instead-of-kwargs

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