Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Do not register connector if the port/host is not set when using commandLineEnvironment() #670
commandLineEnvironment() is a convinient function to parse configs, but it registers a connector no matter what. I don't want to expose non ssl connectors and the only way to do it is to parse configs myself, which is mostly copy paste from this function.
I don't see a reason to register a connector by default even when it's not specified in the configs.
I think better solution would be indeed no default connector, but in case of no connector registered at all, bail out with a diagnostic message telling people what to do. Especially when config is (accidentally) not found – currently error message