-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UPSTREAM: 51727: ensure oc get deals with unstructured resources #16082
UPSTREAM: 51727: ensure oc get deals with unstructured resources #16082
Conversation
/test extended_conformance_gce |
Ensure we are dealing with unstructured objects before attempting to compose into an unstructured list.
dc80f83
to
6974922
Compare
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, fabianofranz, juanvallejo The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
@juanvallejo add a test (can be a separate PR) that does |
Automatic merge from submit-queue |
Automatic merge from submit-queue (batch tested with PRs 15927, 16283, 16239, 16271, 16287) ensure `oc get` handles mixed resource types Adds a test to ensure `oc get` does not panic when given a list of both structured and unstructured resources. Tests changes added in #16082 cc @enj @openshift/cli-review
Fixes #16064
Addresses BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1487245
$ oc get ...
assumed all resources returned from a resource builder were unstructured objects.This patch ensures we are dealing with unstructured objects before attempting to
compose into an unstructured list.
cc @openshift/cli-review @enj