Skip to content

Commit

Permalink
fix: for last pr
Browse files Browse the repository at this point in the history
  • Loading branch information
rainzm committed Nov 22, 2020
1 parent a4e51da commit bec75da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions api/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion controllers/virtualmachine_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (r *VirtualMachineReconciler) Reconcile(req ctrl.Request) (ctrl.Result, err

// Running
if virtualMachine.Status.Phase == onecloudv1.ResourceRunning || virtualMachine.Status.Phase == onecloudv1.ResourceReady {
vmStatus, specPhase, err := r.reconcile(ctx, log, remoteVm)
vmStatus, specPhase, err := r.reconcile(ctx, remoteVm)
if err != nil {
return dealErr(err)
}
Expand Down

0 comments on commit bec75da

Please sign in to comment.