Skip to content

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

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

90.47% of diff hit (target 59.39%)

View this Pull Request on Codecov

90.47% of diff hit (target 59.39%)

Annotations

Check warning on line 756 in internal/volume/volumes_information.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/volume/volumes_information.go#L756

Added line #L756 was not covered by tests

Check warning on line 765 in internal/volume/volumes_information.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/volume/volumes_information.go#L760-L765

Added lines #L760 - L765 were not covered by tests

Check warning on line 73 in pkg/uploader/kopia/block_restore.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/uploader/kopia/block_restore.go#L72-L73

Added lines #L72 - L73 were not covered by tests

Check warning on line 78 in pkg/uploader/kopia/block_restore.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/uploader/kopia/block_restore.go#L76-L78

Added lines #L76 - L78 were not covered by tests