Skip to content

Commit

Permalink
Update cmd/metal-api/internal/issues/issues_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Gerrit <[email protected]>
  • Loading branch information
majst01 and Gerrit91 authored Nov 8, 2024
1 parent 36daae2 commit 0da890e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/metal-api/internal/issues/issues_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func TestFindIssues(t *testing.T) {
name: "powersupply failure",
only: []Type{TypePowerSupplyFailure},
machines: func() metal.Machines {
noPartitionMachine := machineTemplate("power-supply-failure")
defectPowerSupplyMachine := machineTemplate("power-supply-failure")

Check failure on line 92 in cmd/metal-api/internal/issues/issues_test.go

View workflow job for this annotation

GitHub Actions / integration

declared and not used: defectPowerSupplyMachine

Check failure on line 92 in cmd/metal-api/internal/issues/issues_test.go

View workflow job for this annotation

GitHub Actions / Docker Build

declared and not used: defectPowerSupplyMachine
noPartitionMachine.IPMI = metal.IPMI{

Check failure on line 93 in cmd/metal-api/internal/issues/issues_test.go

View workflow job for this annotation

GitHub Actions / integration

undefined: noPartitionMachine

Check failure on line 93 in cmd/metal-api/internal/issues/issues_test.go

View workflow job for this annotation

GitHub Actions / Docker Build

undefined: noPartitionMachine
PowerSupplies: metal.PowerSupplies{
{Status: metal.PowerSupplyStatus{Health: "NO-OK", State: "Absent"}},
Expand Down

0 comments on commit 0da890e

Please sign in to comment.