-
Notifications
You must be signed in to change notification settings - Fork 455
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
Upgrade klog to v2 #2470
base: master
Are you sure you want to change the base?
Upgrade klog to v2 #2470
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@Doris-xm It seems that you didn't sign your commits with |
c7002a7
to
7bae448
Compare
@Electronic-Waste Thanks for your detailed guidance! I've fixed the issue. The PR should now pass the DCO check. |
/ok-to-test |
@Doris-xm Welcome to the Kubeflow community! 🎉🎉🎉 You can now rerun the failed tests with command |
/rerun-all |
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 for your great contribution! Just a few suggestions @Doris-xm .
/assign @kubeflow/wg-automl-leads @helenxie-bit PTAL if you have time:)
cmd/db-manager/v1beta1/main.go
Outdated
@@ -28,7 +28,7 @@ import ( | |||
api_pb "github.com/kubeflow/katib/pkg/apis/manager/v1beta1" | |||
db "github.com/kubeflow/katib/pkg/db/v1beta1" | |||
"github.com/kubeflow/katib/pkg/db/v1beta1/common" | |||
"k8s.io/klog" | |||
klog "k8s.io/klog/v2" |
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.
Maybe we could omit klog
since k8s.io/klog/v2
could already be referenced by klog
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 for your suggestion! I've removed the redundant klog
alias. The code becomes cleaner and consistent now. Appreciate your review!
Signed-off-by: Xinmin Du <[email protected]>
7bae448
to
38429be
Compare
/rerun-all |
It seems that the CI failed due to This PR basically LGTM. I will leave it for @kubeflow/wg-automl-leads @tariq-hasan @helenxie-bit . PTAL if you have time. Thanks for your great contribution! @Doris-xm /lgtm |
@Electronic-Waste: GitHub didn't allow me to assign the following users: tariq-hasan. Note that only kubeflow members with read permissions, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. 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. |
Thanks for the contribution! LGTM |
What this PR does / why we need it:
This PR upgrades klog to v2 to unify logging dependencies in the project.
Which issue(s) this PR fixes :
Fixes #2469
Checklist: