Skip to content

Commit

Permalink
Update ToggleAllowNetboot* condition message:
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Weinstock <[email protected]>
  • Loading branch information
jacobweinstock committed Sep 26, 2024
1 parent 9f6b9ad commit 2975038
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/deprecated/workflow/reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func (r *Reconciler) Reconcile(ctx context.Context, req reconcile.Request) (reco
Type: v1alpha1.ToggleAllowNetbootFalse,
Status: metav1.ConditionTrue,
Reason: "Complete",
Message: "setting allowPXE to false",
Message: "set allowPXE to false",
Time: &metav1.Time{Time: metav1.Now().UTC()},
})
if gerr := handleHardwareAllowPXE(ctx, r.client, wflow, nil, false); gerr != nil {
Expand Down Expand Up @@ -262,7 +262,7 @@ func (r *Reconciler) processNewWorkflow(ctx context.Context, logger logr.Logger,
Type: v1alpha1.ToggleAllowNetbootTrue,
Status: metav1.ConditionTrue,
Reason: "Complete",
Message: "setting allowPXE to true",
Message: "set allowPXE to true",
Time: &metav1.Time{Time: metav1.Now().UTC()},
})
if err := handleHardwareAllowPXE(ctx, r.client, stored, &hardware, true); err != nil {
Expand Down

0 comments on commit 2975038

Please sign in to comment.