Skip to content

Commit

Permalink
Merge pull request #425 from maisem/list-body
Browse files Browse the repository at this point in the history
🐛 List requests should not pass a body.
  • Loading branch information
k8s-ci-robot committed May 14, 2019
2 parents 29884f8 + a47fec1 commit d6324a4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/client/typed_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ func (c *typedClient) List(ctx context.Context, obj runtime.Object, opts ...List
return r.Get().
NamespaceIfScoped(listOpts.Namespace, r.isNamespaced()).
Resource(r.resource()).
Body(obj).
VersionedParams(listOpts.AsListOptions(), c.paramCodec).
Context(ctx).
Do().
Expand Down

0 comments on commit d6324a4

Please sign in to comment.