Merge pull request #166 from docker/grpc_container_errfix

Fix slight bug in error handling
This commit is contained in:
Djordje Lukic 2020-06-03 04:12:47 -07:00 committed by GitHub
commit dae54a3c1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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{