Skip to content

Commit a5c4ac8

Browse files
fix
Signed-off-by: Yaroslav Borbat <[email protected]>
1 parent 43211c8 commit a5c4ac8

File tree

1 file changed

+2
-1
lines changed
  • images/virtualization-artifact/pkg/controller/vmop/internal/service

1 file changed

+2
-1
lines changed

images/virtualization-artifact/pkg/controller/vmop/internal/service/stop.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ func (o StopOperation) IsApplicableForVMPhase(phase virtv2.MachinePhase) bool {
5656
return phase == virtv2.MachineRunning ||
5757
phase == virtv2.MachineDegraded ||
5858
phase == virtv2.MachineStarting ||
59-
phase == virtv2.MachinePause
59+
phase == virtv2.MachinePause ||
60+
phase == virtv2.MachinePending
6061
}
6162

6263
func (o StopOperation) IsApplicableForRunPolicy(runPolicy virtv2.RunPolicy) bool {

0 commit comments

Comments
 (0)