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

feat: Support scaling workerload cluster #4

Merged
merged 1 commit into from
Jul 11, 2022
Merged

Conversation

carezkh
Copy link
Contributor

@carezkh carezkh commented Jul 11, 2022

No description provided.

@carezkh carezkh requested a review from fengye87 July 11, 2022 02:29
main.go Outdated
@@ -259,6 +297,19 @@ func createCluster(cmd *cobra.Command, args []string) error {
return nil
}

func getScaleNodeRole(role string) (bool, bool, error) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer moving this logic inside the RunE func. It does little good to wrap it with a func and is hard for the caller to know what the two returned boolean vars are

@carezkh carezkh merged commit 53fb00f into main Jul 11, 2022
@carezkh carezkh deleted the care-dev-scale-cluster branch July 11, 2022 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants