fix: need to provide embedded ServiceParams struct
This commit is contained in:
parent
23187704ee
commit
af3cb367bb
|
@ -202,9 +202,11 @@ func (s *StorageService) DownloadBytesByHash(hash *encoding.Multihash) ([]byte,
|
||||||
types.StorageLocationTypeFull,
|
types.StorageLocationTypeFull,
|
||||||
types.StorageLocationTypeFile,
|
types.StorageLocationTypeFile,
|
||||||
},
|
},
|
||||||
Logger: s.Logger(),
|
ServiceParams: service.ServiceParams{
|
||||||
Config: s.Config(),
|
Logger: s.Logger(),
|
||||||
Db: s.Db(),
|
Config: s.Config(),
|
||||||
|
Db: s.Db(),
|
||||||
|
},
|
||||||
})
|
})
|
||||||
err := dlUriProvider.Start()
|
err := dlUriProvider.Start()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue