Skip to content

Commit

Permalink
fix: replace logger.Info with logger.Error
Browse files Browse the repository at this point in the history
  • Loading branch information
champon1020 committed Oct 18, 2024
1 parent bbc9872 commit 4746ae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller.v1/mpi/mpijob_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func (jc *MPIJobReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ct

t, err := util.DurationUntilExpireTime(&mpijob.Spec.RunPolicy, mpijob.Status)
if err != nil {
logger.Info("Reconcile MPIJob Job error", "error", err)
logger.Error(err, "Reconcile MPIJob Job error")
return ctrl.Result{}, err
}
if t >= 0 {
Expand Down

0 comments on commit 4746ae5

Please sign in to comment.