5075504926
The JSON parsing of the config could error, but we skipped error checking and use Validate() at the end. This caused that maybe some JSON parsing errors where logged but the final error when validating the configuration came from somewhere different, creating very confusing error messages for the user. This changes this, along with removing hardcoded section lists. This also removes a Sharder component section because, AFAIK, it was a left over from the sharding branch and in the end there is no separate sharding component that needs a config. License: MIT Signed-off-by: Hector Sanjuan <code@hector.link> |
||
---|---|---|
.. | ||
config.go | ||
util.go |