remove this container from map
Signed-off-by: chchliang <chen.chuanliang@zte.com.cn>
This commit is contained in:
parent
971b9ca29a
commit
54b677acf9
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 {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
delete(s.containers, r.ID)
|
||||||
|
|
||||||
return &api.DeleteResponse{ExitStatus: status}, nil
|
return &api.DeleteResponse{ExitStatus: status}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue