fix delete if CRI doesn't exist

pull/17347/head
Steven Powell 2023-10-03 16:02:37 -07:00
parent 74a45cce48
commit 863f70d57d
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@ func unpauseIfNeeded(profile *config.Profile) error {
cr, err := cruntime.New(cruntime.Config{Type: crName, Runner: r})
if err != nil {
exit.Error(reason.InternalNewRuntime, "Failed to create runtime", err)
return err
}
paused, err := cluster.CheckIfPaused(cr, nil)