consulate
consulate copied to clipboard
Cli interface not properly using scheme and api-port arguments
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.