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,
|
||||||
},
|
},
|
||||||
|
ServiceParams: service.ServiceParams{
|
||||||
Logger: s.Logger(),
|
Logger: s.Logger(),
|
||||||
Config: s.Config(),
|
Config: s.Config(),
|
||||||
Db: s.Db(),
|
Db: s.Db(),
|
||||||
|
},
|
||||||
})
|
})
|
||||||
err := dlUriProvider.Start()
|
err := dlUriProvider.Start()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue