-
Notifications
You must be signed in to change notification settings - Fork 37
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
Cluster controller revise #368
Cluster controller revise #368
Conversation
✅ Deploy Preview for kurator-dev canceled.
|
Welcome @LiZhenCheng9527! It looks like this is your first PR to kurator-dev/kurator 🎉 |
Signed-off-by: LiZhenCheng9527 <[email protected]>
Signed-off-by: LiZhenCheng9527 <[email protected]>
Signed-off-by: LiZhenCheng9527 <[email protected]>
@@ -417,6 +417,8 @@ func (r *CustomClusterController) reconcileDelete(ctx context.Context, customClu | |||
|
|||
// deleteWorkerPods delete all the manage worker pods, including those for initialization, scaling up, scaling down, and other related tasks. | |||
func (r *CustomClusterController) deleteWorkerPods(ctx context.Context, customCluster *v1alpha1.CustomCluster) error { | |||
log := ctrl.LoggerFrom(ctx) |
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.
good catch
we can also add log = log.WithValues()
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hzxuzhonghu 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 |
./customcluster_controller.go:423:3: undefined: log
./customcluster_controller.go:429:3: undefined: log
./customcluster_controller.go:435:3: undefined: log
[undefiend log in function deleteWorkerPods]