mirror of
https://github.com/docker/compose.git
synced 2025-05-09 17:10:12 +02:00
Fix slight bug in error handling
This commit is contained in:
parent
21b6a2ae71
commit
1c94893d2f
@ -34,7 +34,7 @@ func (p *proxyContainerAPI) List(ctx context.Context, request *v1.ListRequest) (
|
|||||||
|
|
||||||
c, err := client.ContainerService().List(ctx, request.GetAll())
|
c, err := client.ContainerService().List(ctx, request.GetAll())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return &v1.ListResponse{}, nil
|
return &v1.ListResponse{}, err
|
||||||
}
|
}
|
||||||
|
|
||||||
response := &v1.ListResponse{
|
response := &v1.ListResponse{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user