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

Remove /bin/sh from Documenation #640

Merged
merged 1 commit into from
Jan 24, 2023

Conversation

nickmancari
Copy link

Removed the reference to \bin\sh to accurately reflect changes in v3.7

etcd-io/etcd#15173

@@ -181,7 +181,7 @@ docker run \
To run `etcdctl` using API version 3:

```
docker exec etcd /bin/sh -c "export ETCDCTL_API=3 && /usr/local/bin/etcdctl put foo bar"
docker exec etcd export ETCDCTL_API=3 && /usr/local/bin/etcdctl put foo bar
Copy link
Member

Choose a reason for hiding this comment

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

etcd main branch (3.6) doesn't need ETCDCTL_API any more.

Suggested change
docker exec etcd export ETCDCTL_API=3 && /usr/local/bin/etcdctl put foo bar
docker exec etcd /usr/local/bin/etcdctl put foo bar

@ahrtr
Copy link
Member

ahrtr commented Jan 24, 2023

Thank you @nickmancari for the PR. Please

  1. signoff the commit:
git rebase HEAD~1 --signoff
git push origin bin-sh-documentation-update -f
  1. update the 3.5 and 3.4 doc as well

@ahrtr
Copy link
Member

ahrtr commented Jan 24, 2023

You only signed the third commit, the other two commits are not signed yet. Please squash the commits into just one commit and signoff the final commit.

removed ETCDCTL_API also

fixed v3.5 and v3.4

Signed-off-by: Nick Mancari <[email protected]>
@nickmancari nickmancari force-pushed the bin-sh-documentation-update branch from ac512d7 to 1be83b2 Compare January 24, 2023 19:37
@nickmancari
Copy link
Author

Squashed commits and signed

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

Thank yo @nickmancari

cc @spzala

Copy link
Member

@spzala spzala 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 @nickmancari

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