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

Augment describe to search for matching things if it doesn't match the original resource. #7467

Merged
merged 1 commit into from May 1, 2015

Conversation

brendandburns
Copy link
Contributor

NamespaceParam(namespace).DefaultNamespace().
ResourceTypeOrNameArgs(true, rsrc).
SingleResourceType().
Do()
Copy link
Contributor

Choose a reason for hiding this comment

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

Would be nice if you could reuse the builder (to guard against bit rot) but it's not easy to do here I don't think.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Acknowledged.

@bgrant0607
Copy link
Member

Fixes #5905. Glad to have it, but not in v1.0, I'll point out.

@brendandburns
Copy link
Contributor Author

@smarterclayton comments addressed, please take another look.

@bgrant0607 mea culpa, I think this is important for the end user experience when using kubectl run-container ... I should have filed an isssue for that (or elevated the priority of #5905)

Closes #5905

@smarterclayton
Copy link
Contributor

LGTM once travis is green

@smarterclayton smarterclayton added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 29, 2015
@smarterclayton
Copy link
Contributor

Actually, can you add a test for this code path to hack/test-cmd?

smarterclayton added a commit that referenced this pull request May 1, 2015
Augment describe to search for matching things if it doesn't match the original resource.
@smarterclayton smarterclayton merged commit aa810e4 into kubernetes:master May 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants