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

[CLOUDGA-23292] : Add cluster-name flag to commands to show up in help #249

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

adityakaushik99-yb
Copy link
Contributor

  • Closes CLOUDGA-23292
  • Tested help command

@adityakaushik99-yb adityakaushik99-yb requested a review from a team as a code owner September 5, 2024 06:56
@adityakaushik99-yb adityakaushik99-yb merged commit 2c1dab3 into main Sep 5, 2024
2 checks passed
@adityakaushik99-yb adityakaushik99-yb deleted the CLOUDGA-23292 branch September 5, 2024 09:07
@@ -104,6 +104,10 @@ func performConnectionPoolingOperation(operationName string, cmd *cobra.Command,

func init() {
util.AddCommandIfFeatureFlag(ConnectionPoolingCmd, enableConnectionPoolingCmd, util.CONNECTION_POOLING)
enableConnectionPoolingCmd.Flags().String("cluster-name", "", "[REQUIRED] The name of the cluster to get details.")
Copy link
Contributor

@harshitha-yb harshitha-yb Sep 5, 2024

Choose a reason for hiding this comment

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

why is this required? It is already a mandatory flag set at cluster level (main command) so it being a global flag for the sub command is fine and in line with everything else. Ref: https://yugabyte.atlassian.net/browse/CLOUDGA-23029

Copy link
Contributor

Choose a reason for hiding this comment

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

The description is misleading/incorrect too

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.

3 participants