Skip to content

Commit 99f93f1

Browse files
committed
List requests should not pass a body.
1 parent 40231bd commit 99f93f1

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
@@ -104,7 +104,6 @@ func (c *typedClient) List(ctx context.Context, opts *ListOptions, obj runtime.O
104104
return r.Get().
105105
NamespaceIfScoped(namespace, r.isNamespaced()).
106106
Resource(r.resource()).
107-
Body(obj).
108107
VersionedParams(opts.AsListOptions(), c.paramCodec).
109108
Context(ctx).
110109
Do().

0 commit comments

Comments
 (0)