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

Fix self link in listing items in a namespace #6178

Merged
merged 1 commit into from
Mar 30, 2015

Conversation

derekwaynecarr
Copy link
Member

Fix #6154

If you queried a resource that is namespace scoped using the cross-namespace query, the self link for the items returned was incorrect. The if check here was unnecessary.

@googlebot
Copy link

Thanks for your pull request.

It looks like this may be your first contribution to a Google open source project, in which case you'll need to sign a Contributor License Agreement (CLA) at https://cla.developers.google.com/.

If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check the information on your CLA or see this help article on setting the email on your git commits.

Once you've done that, please reply here to let us know. If you signed the CLA as a corporation, please let us know the company's name.

@nikhiljindal nikhiljindal self-assigned this Mar 30, 2015
@nikhiljindal
Copy link
Contributor

LGTM, thanks for the quick fix!

@nikhiljindal nikhiljindal added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 30, 2015
@derekwaynecarr
Copy link
Member Author

Added a unit test ;-)

vmarmol added a commit that referenced this pull request Mar 30, 2015
Fix self link in listing items in a namespace
@vmarmol vmarmol merged commit 795cd38 into kubernetes:master Mar 30, 2015
@derekwaynecarr derekwaynecarr deleted the fix_self_link_list branch April 17, 2015 17:56
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.

REST api - selflink is incorrect when accessing entities without namespace in url
4 participants