1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-28 00:39:31 +08:00

actually start the diagnostics service

This commit is contained in:
Jeromy
2014-10-10 00:25:30 -07:00
parent 96af2a1f81
commit 3732244837

View File

@ -122,6 +122,9 @@ func NewIpfsNode(cfg *config.Config, online bool) (*IpfsNode, error) {
if err := exchangeService.Start(ctx); err != nil {
return nil, err
}
if err := diagService.Start(ctx); err != nil {
return nil, err
}
net, err = inet.NewIpfsNetwork(context.TODO(), local, peerstore, &mux.ProtocolMap{
mux.ProtocolID_Routing: dhtService,