server: readable fields
`git grep -w images` or `git grep -w storage` needs to be more useful. Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
0b48dd5d7f
commit
f401adffa9
11 changed files with 72 additions and 72 deletions
|
@ -36,11 +36,11 @@ func (s *Server) RemoveContainer(ctx context.Context, req *pb.RemoveContainerReq
|
|||
|
||||
s.removeContainer(c)
|
||||
|
||||
if err := s.storage.StopContainer(c.ID()); err != nil {
|
||||
if err := s.storageRuntimeServer.StopContainer(c.ID()); err != nil {
|
||||
return nil, fmt.Errorf("failed to unmount container %s: %v", c.ID(), err)
|
||||
}
|
||||
|
||||
if err := s.storage.DeleteContainer(c.ID()); err != nil {
|
||||
if err := s.storageRuntimeServer.DeleteContainer(c.ID()); err != nil {
|
||||
return nil, fmt.Errorf("failed to delete storage for container %s: %v", c.ID(), err)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue