Avoid code which looks at local files when etcd is configured (#7144)
This situation happens only in gateway nas which supports etcd based `config.json` to support all FS mode features. The issue was we would try to migrate something which doesn't exist when etcd is configured which leads to inconsistent server configs in memory. This PR fixes this situation by properly loading config after initialization, avoiding backend disk config migration to be done only if etcd is not configured.master
parent
526546d588
commit
0a28c28a8c
Loading…
Reference in new issue