If you're using -config-dir
an empty .json
file in there is bad news.
#1661
Labels
type/bug
Feature does not function as expected
I remember finding this a long time ago but I forgot to register it as a bug. Was talking with @slackpad last week and remembered.
I ran into it when a service that was writing config files failed and wrote a blank file into the folder - Consul then fails to start up - tries to parse and craps out.
Example output here:
https://gist.github.com/darron/7275837c7734041c5a4a
Not sure if it's something y'all can fix - guard against - but if it's possible that would likely be pretty awesome.
Thanks for the great software!
The text was updated successfully, but these errors were encountered: