Skip to content

Commit c757c31

Browse files
authored
Merge pull request #697 from henry118/main
Do not wait for vm ready during shim clean up
2 parents 913ab8b + cd30bfa commit c757c31

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

runtime/service.go

-6
Original file line numberDiff line numberDiff line change
@@ -1671,12 +1671,6 @@ func (s *service) Wait(requestCtx context.Context, req *taskAPI.WaitRequest) (*t
16711671
func (s *service) Cleanup(requestCtx context.Context) (*taskAPI.DeleteResponse, error) {
16721672
defer logPanicAndDie(log.G(requestCtx))
16731673

1674-
err := s.waitVMReady()
1675-
if err != nil {
1676-
s.logger.WithError(err).Error()
1677-
return nil, err
1678-
}
1679-
16801674
log.G(requestCtx).Debug("cleanup")
16811675
// Destroy VM/etc here?
16821676
// copied from runcs impl, nothing to cleanup atm

0 commit comments

Comments
 (0)