-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Rename EnvVarSource.FieldPath -> FieldRef and add example #7592
Conversation
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). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
@bgrant0607 PTAL |
fieldPath: fieldPath? Really? |
@smarterclayton Really. |
Ugh.... wasn't that supposed to be reference fieldPath? |
@smarterclayton I had thought @bgrant0607 explicitly wanted fieldPath for both. I'll go back and read through the comments again. |
Hrm, I think seeing it in the actual API makes me think it was a bad decision. We can revisit later but I'm not a fan of redundant redundancy. ----- Original Message -----
|
@smarterclayton Yeah, I felt the same thing -- I'm trying to think of better names but coming up empty. |
ObjectFieldSelector.FieldPath needs to stay FieldPath in order to match ObjectReference. Other possibilities for EnvVarSource.FieldPath:
|
FieldRef makes the most sense to me. |
Agreed
|
Alrighty, I will change it.
|
@smarterclayton updated, PTAL |
LGTM, may need to regenerate docs as well (put them in their own commit). |
@smarterclayton I got no real diffs from regenerating |
Sorry, I meant swagger, not docs. |
@smarterclayton It's a lot of changes for the swagger spec -- do you want it in this PR? |
Separate commit. |
LGTM |
Will merge on green travis |
I recommend postponing the swagger updates to a separate PR. Unrelated changes are causing the validation test to fail when the swagger is updated. |
@bgrant0607 fine with me. On Mon, May 4, 2015 at 6:00 PM, Brian Grant notifications@github.com
|
It doesn't matter because travis will never give you a green |
What do you mean @smarterclayton? Shippable failed on this PR, apparently due to the swagger update. |
It's been waiting for a good 4-5 hours to start |
Also, the generated swagger still contains fieldPath rather than fieldRef. |
CLAs look good, thanks! |
@bgrant0607 Removed the swagger commit, I will look into that separately as a follow-up. |
LGTM |
It looks like we need to update go-restful again to get the |
Rerunning Shippable. |
Rename EnvVarSource.FieldPath -> FieldRef and add example
No description provided.