Skip to content

Commit

Permalink
fix(vm): add value of the guest os info
Browse files Browse the repository at this point in the history
- add debug log into UpdateStatus

Signed-off-by: Dmitry Lopatin <lopatindmitr@yandex.ru>
  • Loading branch information
LopatinDmitr committed May 14, 2024
1 parent 548bd49 commit c91fed3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ func (r *VMReconciler) syncKVVM(ctx context.Context, state *VMReconcilerState, o
}

func (r *VMReconciler) UpdateStatus(_ context.Context, _ reconcile.Request, state *VMReconcilerState, opts two_phase_reconciler.ReconcilerOptions) error {
opts.Log.Info("executing UpdateStatus")
if state.isDeletion() {
state.VM.Changed().Status.Phase = virtv2.MachineTerminating
return nil
Expand Down

0 comments on commit c91fed3

Please sign in to comment.