Skip to content
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

Refactor some methods of node webhook #577

Open
googs1025 opened this issue May 8, 2024 · 1 comment · May be fixed by #578
Open

Refactor some methods of node webhook #577

googs1025 opened this issue May 8, 2024 · 1 comment · May be fixed by #578
Assignees
Labels
Milestone

Comments

@googs1025
Copy link
Contributor

What happened?

When I was using katalyst recently, I found that there were some duplicate codes in the webhook code. I wanted to do a small refactoring and simplify some codes.
like this
https://github.com/kubewharf/katalyst-core/blob/main/pkg/webhook/mutating/node/allocatable_mutator.go#L66
https://github.com/kubewharf/katalyst-core/blob/main/pkg/webhook/mutating/node/allocatable_mutator.go#L121

@googs1025
Copy link
Contributor Author

/assign

@caohe caohe added the refactor label May 8, 2024
@caohe caohe added this to the v0.6 milestone May 8, 2024
@googs1025 googs1025 linked a pull request May 8, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants