Skip to content

Commit a47fec1

Browse files
committed
List requests should not pass a body.
1 parent 29884f8 commit a47fec1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/client/typed_client.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ func (c *typedClient) List(ctx context.Context, obj runtime.Object, opts ...List
134134
return r.Get().
135135
NamespaceIfScoped(listOpts.Namespace, r.isNamespaced()).
136136
Resource(r.resource()).
137-
Body(obj).
138137
VersionedParams(listOpts.AsListOptions(), c.paramCodec).
139138
Context(ctx).
140139
Do().

0 commit comments

Comments
 (0)