-
Notifications
You must be signed in to change notification settings - Fork 32
Adding SDK version to the operator #95
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -47,9 +47,10 @@ func init() { | |
| } | ||
|
|
||
| func printVersion() { | ||
| log.Info(fmt.Sprintf("Operator Version: %s", version.Operator)) | ||
| log.Info(fmt.Sprintf("Go Version: %s", runtime.Version())) | ||
| log.Info(fmt.Sprintf("Go OS/Arch: %s/%s", runtime.GOOS, runtime.GOARCH)) | ||
| log.Info(fmt.Sprintf("version: v%s", version.VersionOperator)) | ||
| log.Info(fmt.Sprintf("operator-sdk version: v%s", version.VersionSDK)) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am in favor of the |
||
| log.Info(fmt.Sprintf("go Version: %s", runtime.Version())) | ||
| log.Info(fmt.Sprintf("go OS/Arch: %s/%s", runtime.GOOS, runtime.GOARCH)) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why the downcasing? The Go project name is canonically title case, e.g. see examples here. |
||
| } | ||
|
|
||
| // getWatchNamespace returns the Namespace the operator should be watching for 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.
Why the change from
Operator Version?Uh oh!
There was an error while loading. Please reload this page.
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.
You mean from
version.Operatortoversion.VersionOperator? to keep it consistent withVersion.VersionSDK.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 did you change the label string from "Operator Version:" which seems more clear?
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.
Will change ti to
operator version