-
Notifications
You must be signed in to change notification settings - Fork 468
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
changed docstring in shared_types.go to account for empty strings being an error #1376
changed docstring in shared_types.go to account for empty strings being an error #1376
Conversation
Welcome @asim-reza! |
Hi @asim-reza. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your patch!
Could you also make this change to the v1beta1 docs?
apis/v1alpha2/shared_types.go
Outdated
// Namespace is the namespace of the referent. When unspecified, this refers | ||
// to the local namespace of the Route. Refer to the Namespace type for valid | ||
// values. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Namespace is the namespace of the referent. When unspecified, this refers | |
// to the local namespace of the Route. Refer to the Namespace type for valid | |
// values. | |
// Namespace is the namespace of the referent. When unspecified, this refers | |
// to the local namespace of the Route. |
I think the "Refer to the Namespace type" bit isn't useful because the docs will include a link to that type. If it was useful, we'd have to say it everywhere for every type.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey! I think I made the change for both v1alpha2
and v1beta1
... Unless I pushed it wrong
@markmc: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
/retest |
Thanks! /lgtm |
/test pull-gateway-api-verify |
This LGTM, nice work. Running Once that's done, I'll approve. Thanks for making your first change! |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: asim-reza, youngnick The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Issue
ParentReference.Namespace has unnecessary pointer to string. #1220
What type of PR is this?
/kind documentation
What this PR does / why we need it:
In reference to the Issue mentioned above (#1220) it was decided that setting the value as an empty string for the field
namespace
is an error, and this is now reflected in its docstringWhich issue(s) this PR fixes:
Fixes #1220
Does this PR introduce a user-facing change?: