Skip to content

chore: enable early-return and superfluous-else from revive

Codecov / codecov/patch succeeded Jan 18, 2025 in 1s

50.00% of diff hit (within 80.00% threshold of 68.76%)

View this Pull Request on Codecov

50.00% of diff hit (within 80.00% threshold of 68.76%)

Annotations

Check warning on line 260 in etcdctl/ctlv3/command/check.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

etcdctl/ctlv3/command/check.go#L260

Added line #L260 was not covered by tests

Check warning on line 264 in etcdctl/ctlv3/command/check.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

etcdctl/ctlv3/command/check.go#L264

Added line #L264 was not covered by tests

Check warning on line 437 in etcdctl/ctlv3/command/check.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

etcdctl/ctlv3/command/check.go#L437

Added line #L437 was not covered by tests

Check warning on line 117 in etcdctl/ctlv3/ctl.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

etcdctl/ctlv3/ctl.go#L117

Added line #L117 was not covered by tests

Check warning on line 120 in etcdctl/ctlv3/ctl.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

etcdctl/ctlv3/ctl.go#L120

Added line #L120 was not covered by tests

Check warning on line 610 in server/etcdserver/api/v2store/store.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/etcdserver/api/v2store/store.go#L610

Added line #L610 was not covered by tests

Check warning on line 615 in server/etcdserver/api/v2store/store.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/etcdserver/api/v2store/store.go#L615

Added line #L615 was not covered by tests