Browse Source

Fix slight bug in error handling

Guillaume Tardif 5 năm trước cách đây
mục cha
commit
1c94893d2f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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{