Skip to content

etcdctl/ctlv3/command: simplify code using fmt.Printf with '\n'#16256

Merged
ahrtr merged 1 commit intoetcd-io:mainfrom
callthingsoff:simplify_fmt_print
Jul 18, 2023
Merged

etcdctl/ctlv3/command: simplify code using fmt.Printf with '\n'#16256
ahrtr merged 1 commit intoetcd-io:mainfrom
callthingsoff:simplify_fmt_print

Conversation

@callthingsoff
Copy link
Copy Markdown
Contributor

The current printing code is complicated.
This PR simplifies the code and reduces the function calls.

Please take a look.

The current printing code is complicated. This PR simplifies the
code and reduces the function calls.

Signed-off-by: Jes Cok <xigua67damn@gmail.com>
Copy link
Copy Markdown
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.

thx @gocurr

Copy link
Copy Markdown
Member

@jmhbnz jmhbnz left a comment

Choose a reason for hiding this comment

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

LGTM - Thanks @gocurr

@ahrtr ahrtr merged commit eb204f1 into etcd-io:main Jul 18, 2023
@callthingsoff callthingsoff deleted the simplify_fmt_print branch July 18, 2023 11:37
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.

4 participants