consulate icon indicating copy to clipboard operation
consulate copied to clipboard

Cli interface not properly using scheme and api-port arguments

Open gCarlNoiseux opened this issue 4 years ago • 0 comments

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.

gCarlNoiseux avatar Sep 01 '21 19:09 gCarlNoiseux