mirror of https://github.com/docker/compose.git
Merge pull request #166 from docker/grpc_container_errfix
Fix slight bug in error handling
This commit is contained in:
commit
dae54a3c1f
|
@ -34,7 +34,7 @@ func (p *proxyContainerAPI) List(ctx context.Context, request *v1.ListRequest) (
|
|||
|
||||
c, err := client.ContainerService().List(ctx, request.GetAll())
|
||||
if err != nil {
|
||||
return &v1.ListResponse{}, nil
|
||||
return &v1.ListResponse{}, err
|
||||
}
|
||||
|
||||
response := &v1.ListResponse{
|
||||
|
|
Loading…
Reference in New Issue