stores: Use index in local store

This commit is contained in:
Łukasz Magiera
2020-03-19 16:11:04 +01:00
parent 2fa3f2578f
commit d87b7c264d
14 changed files with 243 additions and 206 deletions
+1 -1
View File
@@ -195,7 +195,7 @@ func (sm *StorageMinerAPI) StorageAddLocal(ctx context.Context, path string) err
return xerrors.Errorf("no storage manager")
}
return sm.StorageMgr.AddLocalStorage(path)
return sm.StorageMgr.AddLocalStorage(ctx, path)
}
var _ api.StorageMiner = &StorageMinerAPI{}