rename KVStore uses as storage to differentiate between upcoming store package

Signed-off-by: kim (grufwub) <grufwub@gmail.com>
This commit is contained in:
kim (grufwub)
2021-09-11 20:18:06 +01:00
parent e43a46e982
commit 7f36688643
9 changed files with 36 additions and 36 deletions

View File

@@ -110,7 +110,7 @@ func (p *processor) GetFile(ctx context.Context, account *gtsmodel.Account, form
}
}
bytes, err := p.store.Get(storagePath)
bytes, err := p.storage.Get(storagePath)
if err != nil {
return nil, gtserror.NewErrorNotFound(fmt.Errorf("error retrieving from storage: %s", err))
}