storage: Allow starting with no paths

This commit is contained in:
Łukasz Magiera 2020-03-09 06:52:12 +01:00
parent f17962182f
commit f01e8bc509

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 {