Skip to content

Refactor Device to be a BootDeviceType

Codecov / codecov/patch succeeded Nov 21, 2023 in 0s

44.59% of diff hit (target 44.40%)

View this Pull Request on Codecov

44.59% of diff hit (target 44.40%)

Annotations

Check warning on line 461 in client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client.go#L459-L461

Added lines #L459 - L461 were not covered by tests

Check warning on line 464 in client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client.go#L463-L464

Added lines #L463 - L464 were not covered by tests

Check warning on line 466 in client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client.go#L466

Added line #L466 was not covered by tests

Check warning on line 69 in internal/redfishwrapper/boot_device.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/redfishwrapper/boot_device.go#L66-L69

Added lines #L66 - L69 were not covered by tests

Check warning on line 72 in internal/redfishwrapper/boot_device.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/redfishwrapper/boot_device.go#L72

Added line #L72 was not covered by tests

Check warning on line 80 in internal/redfishwrapper/boot_device.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/redfishwrapper/boot_device.go#L77-L80

Added lines #L77 - L80 were not covered by tests

Check warning on line 83 in internal/redfishwrapper/boot_device.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/redfishwrapper/boot_device.go#L83

Added line #L83 was not covered by tests

Check warning on line 87 in internal/redfishwrapper/boot_device.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/redfishwrapper/boot_device.go#L87

Added line #L87 was not covered by tests

Check warning on line 102 in internal/redfishwrapper/boot_device.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/redfishwrapper/boot_device.go#L100-L102

Added lines #L100 - L102 were not covered by tests

Check warning on line 136 in internal/redfishwrapper/boot_device.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/redfishwrapper/boot_device.go#L134-L136

Added lines #L134 - L136 were not covered by tests

Check warning on line 141 in internal/redfishwrapper/boot_device.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/redfishwrapper/boot_device.go#L139-L141

Added lines #L139 - L141 were not covered by tests

Check warning on line 146 in internal/redfishwrapper/boot_device.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/redfishwrapper/boot_device.go#L144-L146

Added lines #L144 - L146 were not covered by tests

Check warning on line 152 in internal/redfishwrapper/boot_device.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/redfishwrapper/boot_device.go#L149-L152

Added lines #L149 - L152 were not covered by tests

Check warning on line 158 in internal/redfishwrapper/boot_device.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/redfishwrapper/boot_device.go#L155-L158

Added lines #L155 - L158 were not covered by tests

Check warning on line 161 in internal/redfishwrapper/boot_device.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/redfishwrapper/boot_device.go#L161

Added line #L161 was not covered by tests

Check warning on line 164 in internal/redfishwrapper/boot_device.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/redfishwrapper/boot_device.go#L164

Added line #L164 was not covered by tests

Check warning on line 219 in providers/redfish/redfish.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

providers/redfish/redfish.go#L218-L219

Added lines #L218 - L219 were not covered by tests