mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-29 17:36:38 +08:00
actually start the diagnostics service
This commit is contained in:
@ -122,6 +122,9 @@ func NewIpfsNode(cfg *config.Config, online bool) (*IpfsNode, error) {
|
|||||||
if err := exchangeService.Start(ctx); err != nil {
|
if err := exchangeService.Start(ctx); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
if err := diagService.Start(ctx); err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
|
||||||
net, err = inet.NewIpfsNetwork(context.TODO(), local, peerstore, &mux.ProtocolMap{
|
net, err = inet.NewIpfsNetwork(context.TODO(), local, peerstore, &mux.ProtocolMap{
|
||||||
mux.ProtocolID_Routing: dhtService,
|
mux.ProtocolID_Routing: dhtService,
|
||||||
|
Reference in New Issue
Block a user