b96c2b664d
* Do not load API components removed from the config This commit introduces a map that would keep track of whether components for a component were missing or not from the JSON config file. This map can be check while creating cluster to avoid loading a component. It would consider component only if the component is fully missing from the config. Say the component in question is `ipfsproxy` which is under `api` section. This would use defaults for `ipfsproxy` and load IPFS proxy. ``` { "api":{ "ipfsproxy": {} } } ``` However, this would not load IPFS proxy ``` { "api":{} } ``` |
||
---|---|---|
.. | ||
config_test.go | ||
config.go | ||
identity_test.go | ||
identity.go | ||
util.go |