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
Description:
In the existing code, we have a hardcoded cluster name comparison, making the code less readable and maintainable. Let's improve code readability by using a constant or a variable for the cluster name comparison.
Description:
In the existing code, we have a hardcoded cluster name comparison, making the code less readable and maintainable. Let's improve code readability by using a constant or a variable for the cluster name comparison.
Code details
class name:
src/main/java/io/spaship/operator/service/k8s/Operator.java
existing code
proposed solution
Alternative solution
Create a ENum which will contain list of clusters and other relations related to it
Benefits:
Implementation:
The text was updated successfully, but these errors were encountered: