Skip to content
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

use ImageStreamImport for container command lookup in oc debug #12585

Merged
merged 1 commit into from
Feb 9, 2017

Conversation

jim-minter
Copy link
Contributor

[test]

namespace = o.Attach.Pod.Namespace
}

isi, err := o.Client.ImageStreamImages(namespace).Get(isname, ref.ID)
Copy link
Contributor

@smarterclayton smarterclayton Feb 1, 2017

Choose a reason for hiding this comment

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

You need to check that ID is set.

}

namespace := trigger.ImageChangeParams.From.Namespace
if namespace == "" {
Copy link
Contributor

Choose a reason for hiding this comment

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

We use len(namespace) == 0 by convention.

@jim-minter
Copy link
Contributor Author

@smarterclayton requested changes made

@openshift-bot
Copy link
Contributor

Evaluated for origin test up to d9e63e0

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/13478/) (Base Commit: 92ce2c9)

@jim-minter
Copy link
Contributor Author

@smarterclayton if this is good to go, please hit merge.

@jim-minter
Copy link
Contributor Author

ping @smarterclayton ...

@smarterclayton
Copy link
Contributor

The other issue we discussed has been opened, correct? LGTM [merge]

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to d9e63e0

@openshift-bot
Copy link
Contributor

openshift-bot commented Feb 9, 2017

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_future/33/) (Base Commit: 7412065) (Image: devenv-rhel7_5884)

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