Commit Graph

4 Commits

Author SHA1 Message Date
Guoliang Wang
76059f874f Errorf format %q has arg b.labelSelector of wrong type *string 2018-05-30 17:51:17 +08:00
Monis Khan
631124cde4
Correctly apply request transforms with flattened resource builder
This change moves the NewClientWithOptions call into
Builder.getClient.  Since getClient is the only way for Builder and
its visitors to create a RESTClient, we can reasonably guarantee
that the request transforms will be honored.  Previously, it was
possible for a call to NewFlattenListVisitor to return resource Info
objects whose Client field did not honor the request transforms.

Signed-off-by: Monis Khan <mkhan@redhat.com>
2018-05-29 12:22:57 -04:00
Michal Fojtik
390b60f103
kubectl: fix Flatten() when used without Latest() 2018-05-17 14:01:42 +02:00
David Eads
16d6a6c52f move resource builder to generic options 2018-05-10 14:15:12 -04:00