Skip to content

Commit cd30bfa

Browse files
committed
Do not wait for vm ready during shim clean up
Signed-off-by: Henry Wang <[email protected]>
1 parent 913ab8b commit cd30bfa

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Diff for: 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)