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

Update how-to-get-key-by-prefix doc. #805

Merged
merged 1 commit into from May 12, 2024
Merged

Update how-to-get-key-by-prefix doc. #805

merged 1 commit into from May 12, 2024

Conversation

fuweid
Copy link
Contributor

@fuweid fuweid commented Mar 19, 2024

Fixes: #797

@fuweid
Copy link
Contributor Author

fuweid commented Mar 19, 2024

cc @celestehorgan

@@ -4,6 +4,32 @@ description: Guide to extracting etcd keys by their prefix
weight: 300
---

## Pre-requisites

* [Install tools](https://etcd.io/docs/v3.5/install/)

Choose a reason for hiding this comment

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

Suggested change
* [Install tools](https://etcd.io/docs/v3.5/install/)
* [Install etcdctl](https://etcd.io/docs/v3.5/install/)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated! PTAL

Copy link
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 - Minor nit below if you have time.


### Example


Copy link
Member

Choose a reason for hiding this comment

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

nit: MD012/no-multiple-blanks: Multiple consecutive blank lines [Expected: 1; Actual: 2]markdownlint

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done! thanks

Signed-off-by: Fu, Wei <fuweid89@gmail.com>
@@ -4,6 +4,31 @@ description: Guide to extracting etcd keys by their prefix
weight: 300
---

## Pre-requisites

* [Install etcdctl](https://etcd.io/docs/v3.5/install/)
Copy link

Choose a reason for hiding this comment

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

Suggested change
* [Install etcdctl](https://etcd.io/docs/v3.5/install/)
* Install [etcdctl](https://etcd.io/docs/v3.5/install/)

nits, I think it's better to make the header of the session unified with other cross pages in this docs
https://github.com/etcd-io/website/blob/main/content/en/docs/v3.6/tutorials/how-to-watch-keys.md#prerequisites

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think etcdctl is about what is etcdctl. [install etcdctl] is about how to get it.
I don't think we should just highlight the etcdctl.

@fuweid
Copy link
Contributor Author

fuweid commented Mar 19, 2024

ping @wenjiaswe ~

@jmhbnz jmhbnz merged commit decc347 into etcd-io:main May 12, 2024
5 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.

Revise https://etcd.io/docs/v3.5/tutorials/how-to-get-key-by-prefix/
4 participants