Browse Source

Fix slight bug in error handling

Guillaume Tardif 5 years ago
parent
commit
1c94893d2f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      server/proxy/containers.go

+ 1 - 1
server/proxy/containers.go

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