Merge pull request #1364 from filecoin-project/feat/no-path-storage

storage: Allow starting with no paths
This commit is contained in:
Whyrusleeping 2020-03-08 23:15:53 -07:00 committed by GitHub
commit 93137b02be

View File

@ -90,10 +90,6 @@ func (st *storage) open() error {
return xerrors.Errorf("getting local storage config: %w", err)
}
if len(cfg.StoragePaths) == 0 {
return xerrors.New("no local storage paths configured")
}
for _, path := range cfg.StoragePaths {
err := st.openPath(path.Path)
if err != nil {