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
|
@ -20,7 +20,7 @@ func (s *Server) ImageStatus(ctx context.Context, req *pb.ImageStatusRequest) (*
|
|||
if image == "" {
|
||||
return nil, fmt.Errorf("no image specified")
|
||||
}
|
||||
status, err := s.images.ImageStatus(s.imageContext, image)
|
||||
status, err := s.storageImageServer.ImageStatus(s.imageContext, image)
|
||||
if err != nil {
|
||||
if err == storage.ErrImageUnknown {
|
||||
return &pb.ImageStatusResponse{}, nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue