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

fix: change getCommand default format auto #598

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

Elbehery
Copy link
Member

@Elbehery Elbehery commented Nov 6, 2023

This PR changes getCommand default format from ascii-encoded to auto

resolves ##588

cc @ahrtr

@Elbehery Elbehery force-pushed the getCommand_default_format_auto branch 2 times, most recently from 86d58d8 to 61627f5 Compare November 7, 2023 18:16
@Elbehery
Copy link
Member Author

Elbehery commented Nov 7, 2023

@ahrtr I updated this accordingly, ptal 👍🏽

@Elbehery
Copy link
Member Author

Elbehery commented Nov 8, 2023

/assign @ahrtr

@Elbehery
Copy link
Member Author

Elbehery commented Nov 8, 2023

@fuweid would appreciate your review :)

@@ -1064,7 +1064,7 @@ Additional options include:
--format
Output format. One of: `+FORMAT_MODES+` (default=bytes)
--parse-format
Input format (of key). One of: ascii-encoded|hex (default=ascii-encoded)"
Copy link
Member

Choose a reason for hiding this comment

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

There is no auto for parse-format to the input. So, I think we should not touch this line.

Copy link
Member

Choose a reason for hiding this comment

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

It could be Line 1065

Copy link
Member Author

Choose a reason for hiding this comment

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

good catch, my bad 👍🏽 thanks tons 🙏🏽

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed 👍🏽

@Elbehery Elbehery force-pushed the getCommand_default_format_auto branch from 61627f5 to 987e20b Compare November 8, 2023 03:17
Copy link
Member

@fuweid fuweid left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@ahrtr ahrtr left a comment

Choose a reason for hiding this comment

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

LGTM

@ahrtr ahrtr merged commit a640695 into etcd-io:master Nov 8, 2023
9 checks passed
@Elbehery Elbehery deleted the getCommand_default_format_auto branch January 12, 2024 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants