Fix slight bug in error handling

This commit is contained in:
Guillaume Tardif 2020-06-03 12:20:49 +02:00
parent 21b6a2ae71
commit 1c94893d2f
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{