Skip to content

Commit

Permalink
Fix error handling in BMC controller (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
afritzler authored Apr 25, 2024
1 parent 4d378a6 commit 07a5758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/bmc_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func (r *BMCReconciler) updateBMCStatusDetails(ctx context.Context, log logr.Log

manager, err := bmcClient.GetManager()
if err != nil {
return fmt.Errorf("failed to get manager details")
return fmt.Errorf("failed to get manager details: %w", err)
}
if manager != nil {
bmcBase := bmcObj.DeepCopy()
Expand Down

0 comments on commit 07a5758

Please sign in to comment.