fix: need to register storage service
This commit is contained in:
parent
b60979e79d
commit
cc53e61918
|
@ -73,12 +73,14 @@ func DefaultNode(config *config.NodeConfig) *Node {
|
||||||
p2pService := service.NewP2P(params)
|
p2pService := service.NewP2P(params)
|
||||||
registryService := service.NewRegistry(params)
|
registryService := service.NewRegistry(params)
|
||||||
httpService := service.NewHTTP(params)
|
httpService := service.NewHTTP(params)
|
||||||
|
storageService := service.NewStorage(params)
|
||||||
|
|
||||||
// Aggregate services
|
// Aggregate services
|
||||||
services := NewServices(ServicesParams{
|
services := NewServices(ServicesParams{
|
||||||
P2P: p2pService,
|
P2P: p2pService,
|
||||||
Registry: registryService,
|
Registry: registryService,
|
||||||
HTTP: httpService,
|
HTTP: httpService,
|
||||||
|
Storage: storageService,
|
||||||
})
|
})
|
||||||
|
|
||||||
// Now create the node with the services
|
// Now create the node with the services
|
||||||
|
|
Loading…
Reference in New Issue