mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +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())
|
||||
if err != nil {
|
||||
return &v1.ListResponse{}, nil
|
||||
return &v1.ListResponse{}, err
|
||||
}
|
||||
|
||||
response := &v1.ListResponse{
|
||||
|
Loading…
x
Reference in New Issue
Block a user