Skip to content

fix: allow daemon to start correctly if the API is null

Codecov / codecov/patch succeeded Aug 11, 2023 in 0s

0.00% of diff hit (target 38.11%)

View this Pull Request on Codecov

0.00% of diff hit (target 38.11%)

Annotations

Check warning on line 416 in cmd/ipfs/daemon.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/ipfs/daemon.go#L416

Added line #L416 was not covered by tests

Check warning on line 418 in cmd/ipfs/daemon.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/ipfs/daemon.go#L418

Added line #L418 was not covered by tests

Check warning on line 718 in cmd/ipfs/daemon.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/ipfs/daemon.go#L717-L718

Added lines #L717 - L718 were not covered by tests

Check warning on line 721 in cmd/ipfs/daemon.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/ipfs/daemon.go#L720-L721

Added lines #L720 - L721 were not covered by tests

Check warning on line 106 in core/node/libp2p/addrs.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/node/libp2p/addrs.go#L101-L106

Added lines #L101 - L106 were not covered by tests

Check warning on line 66 in core/node/libp2p/routing.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/node/libp2p/routing.go#L66

Added line #L66 was not covered by tests

Check warning on line 68 in core/node/libp2p/routing.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/node/libp2p/routing.go#L68

Added line #L68 was not covered by tests

Check warning on line 70 in core/node/libp2p/routing.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/node/libp2p/routing.go#L70

Added line #L70 was not covered by tests

Check warning on line 74 in core/node/libp2p/routing.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/node/libp2p/routing.go#L74

Added line #L74 was not covered by tests

Check warning on line 80 in core/node/libp2p/routing.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/node/libp2p/routing.go#L79-L80

Added lines #L79 - L80 were not covered by tests

Check warning on line 82 in core/node/libp2p/routing.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/node/libp2p/routing.go#L82

Added line #L82 was not covered by tests

Check warning on line 85 in core/node/libp2p/routing.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/node/libp2p/routing.go#L85

Added line #L85 was not covered by tests

Check warning on line 93 in core/node/libp2p/routing.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/node/libp2p/routing.go#L93

Added line #L93 was not covered by tests

Check warning on line 103 in core/node/libp2p/routing.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/node/libp2p/routing.go#L103

Added line #L103 was not covered by tests

Check warning on line 118 in core/node/libp2p/routing.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/node/libp2p/routing.go#L118

Added line #L118 was not covered by tests

Check warning on line 133 in core/node/libp2p/routing.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/node/libp2p/routing.go#L124-L133

Added lines #L124 - L133 were not covered by tests

Check warning on line 137 in core/node/libp2p/routing.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/node/libp2p/routing.go#L137

Added line #L137 was not covered by tests

Check warning on line 141 in core/node/libp2p/routing.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/node/libp2p/routing.go#L139-L141

Added lines #L139 - L141 were not covered by tests

Check warning on line 151 in core/node/libp2p/routing.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/node/libp2p/routing.go#L150-L151

Added lines #L150 - L151 were not covered by tests

Check warning on line 53 in core/node/libp2p/routingopt.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/node/libp2p/routingopt.go#L46-L53

Added lines #L46 - L53 were not covered by tests

Check warning on line 69 in core/node/libp2p/routingopt.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/node/libp2p/routingopt.go#L55-L69

Added lines #L55 - L69 were not covered by tests

Check warning on line 71 in core/node/libp2p/routingopt.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/node/libp2p/routingopt.go#L71

Added line #L71 was not covered by tests

Check warning on line 92 in core/node/libp2p/routingopt.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/node/libp2p/routingopt.go#L90-L92

Added lines #L90 - L92 were not covered by tests

Check warning on line 95 in core/node/libp2p/routingopt.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/node/libp2p/routingopt.go#L95

Added line #L95 was not covered by tests