-
Notifications
You must be signed in to change notification settings - Fork 39.3k
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
This patch consists of various corrections. #73060
Conversation
@humblec: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. 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. |
/release-note-none |
/kind cleanup |
*) Remove unwanted `else` code block *) Adjust variable intialization. *) Correct error strings. *) Use recommended variable increment method. Signed-off-by: hchiramm <hchiramm@redhat.com>
/assign @liggitt |
@@ -21,6 +21,7 @@ limitations under the License. | |||
// and kube-controller-manager with config flag: '--cloud-provider=photon | |||
// --cloud-config=[path_to_config_file]'. When running multi-node kubernetes | |||
// using docker, the config file should be located inside /etc/kubernetes. | |||
|
|||
package photon |
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.
Why add the newline?
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.
@liggitt the linter expect a comment on photon
if its not separated between package name and comment. This new line nullify that expectation.
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.
but this comment is a package comment... right?
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.
@liggitt true.. If its without newline the linter says "package comment should be of the form "Package photon ...". To avoid that expectation from linter I added a new line. please let me know if I want to discard this change.
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.
adding the newline also means godoc will not treat that comment as a package comment. we want this to appear in the godoc.
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.
Sure @liggitt , I discarded this change. PTAL , thanks !
…res. Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: humblec, liggitt 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 |
* This patch consists of various corrections. *) Remove unwanted `else` code block *) Adjust variable intialization. *) Correct error strings. *) Use recommended variable increment method. Signed-off-by: hchiramm <hchiramm@redhat.com> * Remove cluster/images/cluster-version-monitor from hack/.golint_failures. Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
*) Remove unwanted
else
code block*) Adjust variable intialization.
*) Correct error strings.
*) Use recommended variable increment method.
Signed-off-by: hchiramm hchiramm@redhat.com
What type of PR is this?
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: