Skip to content

providers/redfish/firmware: don't use constants

This check has been archived and is scheduled for deletion. Learn more about checks retention
Codecov / codecov/patch succeeded Sep 14, 2023 in 1s

57.89% of diff hit (target 44.43%)

View this Pull Request on Codecov

57.89% of diff hit (target 44.43%)

Annotations

Check warning on line 214 in internal/redfishwrapper/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/redfishwrapper/client.go#L213-L214

Added lines #L213 - L214 were not covered by tests

Check warning on line 110 in providers/redfish/firmware.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

providers/redfish/firmware.go#L110

Added line #L110 was not covered by tests

Check warning on line 117 in providers/redfish/firmware.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

providers/redfish/firmware.go#L113-L117

Added lines #L113 - L117 were not covered by tests

Check warning on line 121 in providers/redfish/firmware.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

providers/redfish/firmware.go#L120-L121

Added lines #L120 - L121 were not covered by tests

Check warning on line 165 in providers/redfish/firmware.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

providers/redfish/firmware.go#L165

Added line #L165 was not covered by tests

Check warning on line 179 in providers/redfish/firmware.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

providers/redfish/firmware.go#L179

Added line #L179 was not covered by tests

Check warning on line 193 in providers/redfish/firmware.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

providers/redfish/firmware.go#L191-L193

Added lines #L191 - L193 were not covered by tests

Check warning on line 198 in providers/redfish/firmware.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

providers/redfish/firmware.go#L197-L198

Added lines #L197 - L198 were not covered by tests

Check warning on line 200 in providers/redfish/firmware.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

providers/redfish/firmware.go#L200

Added line #L200 was not covered by tests

Check warning on line 208 in providers/redfish/firmware.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

providers/redfish/firmware.go#L208

Added line #L208 was not covered by tests

Check warning on line 213 in providers/redfish/firmware.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

providers/redfish/firmware.go#L213

Added line #L213 was not covered by tests

Check warning on line 220 in providers/redfish/firmware.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

providers/redfish/firmware.go#L219-L220

Added lines #L219 - L220 were not covered by tests

Check warning on line 223 in providers/redfish/firmware.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

providers/redfish/firmware.go#L223

Added line #L223 was not covered by tests

Check warning on line 396 in providers/redfish/firmware.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

providers/redfish/firmware.go#L396

Added line #L396 was not covered by tests

Check warning on line 407 in providers/redfish/firmware.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

providers/redfish/firmware.go#L407

Added line #L407 was not covered by tests

Check warning on line 413 in providers/redfish/firmware.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

providers/redfish/firmware.go#L413

Added line #L413 was not covered by tests

Check warning on line 417 in providers/redfish/firmware.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

providers/redfish/firmware.go#L417

Added line #L417 was not covered by tests

Check warning on line 435 in providers/redfish/firmware.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

providers/redfish/firmware.go#L424-L435

Added lines #L424 - L435 were not covered by tests

Check warning on line 18 in providers/redfish/tasks.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

providers/redfish/tasks.go#L17-L18

Added lines #L17 - L18 were not covered by tests

Check warning on line 27 in providers/redfish/tasks.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

providers/redfish/tasks.go#L24-L27

Added lines #L24 - L27 were not covered by tests

Check warning on line 37 in providers/redfish/tasks.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

providers/redfish/tasks.go#L37

Added line #L37 was not covered by tests

Check warning on line 47 in providers/redfish/tasks.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

providers/redfish/tasks.go#L46-L47

Added lines #L46 - L47 were not covered by tests

Check warning on line 51 in providers/redfish/tasks.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

providers/redfish/tasks.go#L51

Added line #L51 was not covered by tests

Check warning on line 61 in providers/redfish/tasks.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

providers/redfish/tasks.go#L61

Added line #L61 was not covered by tests

Check warning on line 72 in providers/redfish/tasks.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

providers/redfish/tasks.go#L68-L72

Added lines #L68 - L72 were not covered by tests