-
Notifications
You must be signed in to change notification settings - Fork 260
[NPM] Print running NPM version in stdout. #958
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
Conversation
Replace log with klog.
|
maybe with the cli tools we should add a |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
That sounds useful. |
|
|
||
| npMgr := npm.NewNetworkPolicyManager(clientset, factory, exec.New(), version) | ||
| metrics.CreateTelemetryHandle(npMgr.GetAppVersion(), npm.GetAIMetadata()) | ||
| metrics.CreateTelemetryHandle(version, npm.GetAIMetadata()) |
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.
Can you fix this lint please, apart from that the PR looks good.
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.
As we agreed, it will come with another PR about metric.
vakalapa
left a comment
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
Reason for Change:
This PR is to print running NPM version in stdout which can help diagnose errors or know tested version (e.g., which version is used for testing).
In addition, this PR replace log with klog for better stdout format in npm.go and main.go
Issue Fixed:
Requirements:
Notes: