-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Version command #1171
Version command #1171
Conversation
Hi @Avni-Sharma. Thanks for your PR. I'm waiting for a operator-framework or openshift 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. |
/ok-to-test |
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.
LGTM
/cc @hasbro17 |
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.
We should use 2019 for the copyright year since this is a new file. Also, one other nit.
commands/operator-sdk/cmd/version.go
Outdated
@@ -0,0 +1,34 @@ | |||
// Copyright 2018 The Operator-SDK Authors |
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.
// Copyright 2018 The Operator-SDK Authors | |
// Copyright 2019 The Operator-SDK Authors |
commands/operator-sdk/cmd/version.go
Outdated
func NewVersionCmd() *cobra.Command { | ||
versionCmd := &cobra.Command{ | ||
Use: "version", | ||
Short: "Provides version of the operator-sdk", |
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.
Nit:
Short: "Provides version of the operator-sdk", | |
Short: "Prints the version of operator-sdk", |
dd4c9a8
to
c9b962b
Compare
I am a bit confused with Travis CI here. Few moments back it showed all the tests to have been passed. |
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.
@Avni-Sharma do you mind rebasing again, it seems your rebase includes one of my commits merged into master recently.
Otherwise lgtm, thanks!
@Avni-Sharma Besides rebasing from master to remove the extra commits, you will also need to add a line to the |
7dbbb1a
to
b9477e1
Compare
Hi @hasbro17 . Made the suggested changes |
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.
LGTM
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.
Thanks! lgtm
cc @hasbro17 if you want to have another look, otherwise we can merge this? |
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.
LGTM
Fixes #1165