Skip to content

Commit

Permalink
outofband/bmc: return err as is
Browse files Browse the repository at this point in the history
  • Loading branch information
joelrebel committed Feb 29, 2024
1 parent bed2caa commit 95cb6ac
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions internal/outofband/bmc.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,7 @@ func (b *bmc) ResetBMC(ctx context.Context) error {
defer b.ReinitializeClient(ctx)

_, err = b.with(provider).ResetBMC(ctx, "GracefulRestart")
if err != nil {
return err
}

return nil
return err
}

// Inventory queries the BMC for the device inventory and returns an object with the device inventory.
Expand Down

0 comments on commit 95cb6ac

Please sign in to comment.