You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
heesuk-ahn
changed the title
[Refactoring Suggestions] refactored Operator.register api
[Refactoring Suggestions] refactored Operator.register api in v2
Nov 17, 2021
Motivation
Operator register api of v2 can remove the part that passes
null
as a parameter through method overloading.In this case, we can remove the logic to protect null from the logic inside the register api.
This can make register api code more readable.
Proposal
kubernetesClient.getVersion
toKubernetesClient.getKubernetesVersion
defaultConfiguration
in register(Reconciler reconciler)The text was updated successfully, but these errors were encountered: