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:
@ -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,
|
||||
|
Reference in New Issue
Block a user