Skip to content

gadget: change behaviour in resolveBootDevice to adhere to current co…

Codecov / codecov/patch failed Oct 4, 2024 in 0s

76.19% of diff hit (target 78.85%)

View this Pull Request on Codecov

76.19% of diff hit (target 78.85%)

Annotations

Check warning on line 592 in gadget/gadget.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gadget/gadget.go#L592

Added line #L592 was not covered by tests

Check warning on line 615 in gadget/gadget.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gadget/gadget.go#L607-L615

Added lines #L607 - L615 were not covered by tests

Check warning on line 791 in gadget/gadget.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gadget/gadget.go#L790-L791

Added lines #L790 - L791 were not covered by tests

Check warning on line 799 in gadget/gadget.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gadget/gadget.go#L798-L799

Added lines #L798 - L799 were not covered by tests

Check warning on line 815 in gadget/gadget.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gadget/gadget.go#L814-L815

Added lines #L814 - L815 were not covered by tests

Check warning on line 838 in gadget/gadget.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gadget/gadget.go#L838

Added line #L838 was not covered by tests

Check warning on line 868 in gadget/gadget.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gadget/gadget.go#L868

Added line #L868 was not covered by tests

Check warning on line 256 in gadget/install/install.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gadget/install/install.go#L255-L256

Added lines #L255 - L256 were not covered by tests

Check warning on line 279 in gadget/install/install.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gadget/install/install.go#L278-L279

Added lines #L278 - L279 were not covered by tests

Check warning on line 367 in gadget/install/install.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gadget/install/install.go#L366-L367

Added lines #L366 - L367 were not covered by tests

Check warning on line 409 in gadget/install/install.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gadget/install/install.go#L408-L409

Added lines #L408 - L409 were not covered by tests

Check warning on line 783 in gadget/install/install.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gadget/install/install.go#L782-L783

Added lines #L782 - L783 were not covered by tests

Check warning on line 877 in gadget/update.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gadget/update.go#L876-L877

Added lines #L876 - L877 were not covered by tests

Check warning on line 1277 in gadget/update.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gadget/update.go#L1276-L1277

Added lines #L1276 - L1277 were not covered by tests

Check warning on line 317 in osutil/disks/mockdisk.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

osutil/disks/mockdisk.go#L312-L317

Added lines #L312 - L317 were not covered by tests

Check warning on line 319 in osutil/disks/mockdisk.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

osutil/disks/mockdisk.go#L319

Added line #L319 was not covered by tests

Check warning on line 323 in osutil/disks/mockdisk.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

osutil/disks/mockdisk.go#L323

Added line #L323 was not covered by tests

Check warning on line 327 in osutil/disks/mockdisk.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

osutil/disks/mockdisk.go#L327

Added line #L327 was not covered by tests

Check warning on line 337 in osutil/disks/mockdisk.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

osutil/disks/mockdisk.go#L333-L337

Added lines #L333 - L337 were not covered by tests

Check warning on line 358 in osutil/disks/mockdisk.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

osutil/disks/mockdisk.go#L357-L358

Added lines #L357 - L358 were not covered by tests