Merge pull request #602 from chchliang/containerdtest
remove this container from map
This commit is contained in:
commit
a7ef3e5313
1 changed files with 3 additions and 0 deletions
|
@ -129,6 +129,9 @@ func (s *Service) Delete(ctx context.Context, r *api.DeleteRequest) (*api.Delete
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
delete(s.containers, r.ID)
|
||||
|
||||
return &api.DeleteResponse{ExitStatus: status}, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue