mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
client: rename "master" branch references to "main"
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
This commit is contained in:
@@ -3,7 +3,7 @@ etcdctl
|
||||
|
||||
`etcdctl` is a command line client for [etcd][etcd].
|
||||
|
||||
The v3 API is used by default on master branch. For the v2 API, make sure to set environment variable `ETCDCTL_API=2`. See also [READMEv2][READMEv2].
|
||||
The v3 API is used by default on main branch. For the v2 API, make sure to set environment variable `ETCDCTL_API=2`. See also [READMEv2][READMEv2].
|
||||
|
||||
If using released versions earlier than v3.4, set `ETCDCTL_API=3` to use v3 API.
|
||||
|
||||
|
||||
@@ -328,7 +328,7 @@ Releases will follow lockstep with the etcd release cycle.
|
||||
|
||||
etcdctl is under the Apache 2.0 license. See the [LICENSE][license] file for details.
|
||||
|
||||
[authentication]: https://github.com/etcd-io/website/blob/master/content/docs/v2/authentication.md
|
||||
[authentication]: https://github.com/etcd-io/website/blob/main/content/docs/v2/authentication.md
|
||||
[etcd]: https://github.com/coreos/etcd
|
||||
[github-release]: https://github.com/coreos/etcd/releases/
|
||||
[license]: ../LICENSE
|
||||
|
||||
@@ -164,7 +164,7 @@ func actionMemberRemove(c *cli.Context) error {
|
||||
if m.Name == removalID {
|
||||
// Note that, so long as it's not ambiguous, we *could* do the right thing by name here.
|
||||
fmt.Fprintf(os.Stderr, "Found a member named %s; if this is correct, please use its ID, eg:\n\tetcdctl member remove %s\n", m.Name, m.ID)
|
||||
fmt.Fprintf(os.Stderr, "For more details, read the documentation at https://github.com/etcd-io/etcd/blob/master/Documentation/runtime-configuration.md#remove-a-member\n\n")
|
||||
fmt.Fprintf(os.Stderr, "For more details, read the documentation at https://github.com/etcd-io/etcd/blob/main/Documentation/runtime-configuration.md#remove-a-member\n\n")
|
||||
}
|
||||
}
|
||||
if !foundID {
|
||||
|
||||
Reference in New Issue
Block a user