mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdctl: Rename of imports after making etcdctl a module.
``` find -name '*.go' | xargs sed -i --follow-symlinks 's|etcd/v3/etcdctl|etcd/etcdctl/v3|g' ```
This commit is contained in:
@@ -110,8 +110,8 @@ function modules() {
|
||||
go.etcd.io/etcd/raft/v3
|
||||
go.etcd.io/etcd/client/v2
|
||||
go.etcd.io/etcd/client/v3
|
||||
go.etcd.io/etcd/etcdctl/v3
|
||||
go.etcd.io/etcd/v3
|
||||
go.etcd.io/etcd/etcdctl/v3
|
||||
go.etcd.io/etcd/tests/v3"
|
||||
}
|
||||
|
||||
@@ -132,8 +132,8 @@ function run_for_modules {
|
||||
run_for_module "raft" "$@" "${pkg}" || return "$?"
|
||||
run_for_module "client/v2" "$@" "${pkg}" || return "$?"
|
||||
run_for_module "client/v3" "$@" "${pkg}" || return "$?"
|
||||
run_for_module "etcdctl" "$@" "${pkg}" || return "$?"
|
||||
run_for_module "." "$@" "${pkg}" || return "$?"
|
||||
run_for_module "etcdctl" "$@" "${pkg}" || return "$?"
|
||||
run_for_module "tests" "$@" "${pkg}" || return "$?"
|
||||
else
|
||||
run_for_module "${USERMOD}" "$@" "${pkg}" || return "$?"
|
||||
|
||||
Reference in New Issue
Block a user