lp rpc: Fix StorageStat

This commit is contained in:
Łukasz Magiera 2024-02-14 15:27:34 +01:00
parent 626d87f5aa
commit 55a50727fa

View File

@ -145,7 +145,7 @@ func (p *ProviderAPI) StorageLocal(ctx context.Context) (map[storiface.ID]string
} }
func (p *ProviderAPI) StorageStat(ctx context.Context, id storiface.ID) (fsutil.FsStat, error) { func (p *ProviderAPI) StorageStat(ctx context.Context, id storiface.ID) (fsutil.FsStat, error) {
return p.LocalStore.FsStat(ctx, id) return p.Stor.FsStat(ctx, id)
} }
func (p *ProviderAPI) Version(context.Context) (api.Version, error) { func (p *ProviderAPI) Version(context.Context) (api.Version, error) {