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(cli): move default values #581

Merged
merged 4 commits into from
Oct 9, 2024

Conversation

lizzy-0323
Copy link
Contributor

Summary

  • Move default values to enter.go in tenant and cluster management.
  • Change validate strategy in cluster/update.go

Solution Description

#577 (review)

Run: func(cmd *cobra.Command, args []string) {
logger.Println("Oceanbase cli Version:0.0.1")
logger.Println("OceanBase Cli Version: 0.0.1")
Copy link
Collaborator

@powerfooI powerfooI Oct 8, 2024

Choose a reason for hiding this comment

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

How about injecting the version variable? You could refer to variable injection of Dashboard and make the change in another PR.

Copy link
Collaborator

@powerfooI powerfooI left a comment

Choose a reason for hiding this comment

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

Great job!

Copy link
Collaborator

@powerfooI powerfooI left a comment

Choose a reason for hiding this comment

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

LGTM

@powerfooI powerfooI merged commit b076f60 into oceanbase:master Oct 9, 2024
7 checks passed
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