Skip to content

Commit

Permalink
Use VM spec RunStrategy instead of deprecated Running
Browse files Browse the repository at this point in the history
Signed-off-by: Arnon Gilboa <[email protected]>
  • Loading branch information
arnongilboa committed Sep 9, 2024
1 parent ead00c1 commit febf65f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/internal/checkup/vmi/spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ func NewVM(name string, options ...Option) *kvcorev1.VirtualMachine {
Name: name,
},
Spec: kvcorev1.VirtualMachineSpec{
Running: Pointer(true),
Template: &kvcorev1.VirtualMachineInstanceTemplateSpec{},
RunStrategy: Pointer(kvcorev1.RunStrategyAlways),
Template: &kvcorev1.VirtualMachineInstanceTemplateSpec{},
},
}

Expand Down

0 comments on commit febf65f

Please sign in to comment.