Skip to content

Commit

Permalink
List requests should not pass a body.
Browse files Browse the repository at this point in the history
  • Loading branch information
maisem committed May 13, 2019
1 parent 29884f8 commit a47fec1
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 a47fec1

Please sign in to comment.