Skip to content

correct the ways that routes are iterated over to be cleared #13246

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

Merged
merged 1 commit into from
Mar 7, 2017

Conversation

JacobTanenbaum
Copy link
Contributor

there was an oversight in the way that the clear route status iterated
over the routes returned by

oc get routes -o jsonpath='{.items[*].metadata.name}' --namespace="${namespace}" 2>/dev/null

currently all routes are presented as one string that the server cannot find.
change that so that the routes are returned into an array and correctly iterated over to present
to the server each route.

Bug 1429364 Link
Bug 1429398 Link

there was an oversight in the way that the clear route status iterated
over the routes returned by

oc get routes -o jsonpath='{.items[*].metadata.name}' --namespace="${namespace}" 2>/dev/null

currently all routes are presented as one string that the server cannot find. Changed that
so that the routes are returned into an array and correctly iterated over so that the server
is given one route name at a time

Bug 1429364
Bug 1429398
@JacobTanenbaum
Copy link
Contributor Author

@openshift/networking @knobunc PTAL

Copy link
Contributor

@knobunc knobunc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@knobunc
Copy link
Contributor

knobunc commented Mar 6, 2017

[test] ... not that anything will actually test this.

@openshift-bot
Copy link
Contributor

Evaluated for origin test up to edef4d1

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_future/866/) (Base Commit: 5e64198)

@dcbw
Copy link
Contributor

dcbw commented Mar 6, 2017

LGTM

@knobunc
Copy link
Contributor

knobunc commented Mar 7, 2017

[merge] @JacobTanenbaum we should probably prep a 1.5 branch PR for this too

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to edef4d1

@openshift-bot
Copy link
Contributor

openshift-bot commented Mar 7, 2017

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_future/916/) (Base Commit: b1201dd) (Image: devenv-rhel7_6050)

@openshift-bot openshift-bot merged commit 2ad7574 into openshift:master Mar 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants