You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add test that checks List works on UnstructuredList not in Scheme
After adding the metadata only watch and client support, the List object
was type checking on Unstructured instead of UnstructuredList.
Now! "Why were the tests passing??" one might ask, it seems that even
though our tests had some using UnstructuredLists and querying against
List, the objects we were asking (appsv1/Deployments) are core objects
that are usually included in the default client-go scheme.Scheme.
For the above reason, the internal typedClient was able to make the
request to the API server and convert the list of object back to
UnstructuredList.
Signed-off-by: Vince Prignano <[email protected]>
0 commit comments