Skip to content

Commit

Permalink
etcd: use shorter workspace name
Browse files Browse the repository at this point in the history
The previous workspace format name corresponds to the import style used
by gazelle, but this particular etcd dependency isn't appropriate for
use in imports. Since rook is going to require an appropriate etcd
dependency, change this dependency to use a different name that won't
conflict with the importable one.
  • Loading branch information
celskeggs committed May 15, 2020
1 parent a12a8ea commit 4be6c26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions platform/etcd/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ load("//bazel:package.bzl", "homeworld_deb")
go_binary(
name = "etcd",
embed = [
"@com_github_coreos_etcd//:go_default_library",
"@etcd//:go_default_library",
],
# gc_linkopts = "${GO_LDFLAGS}",
pure = "on",
Expand All @@ -22,7 +22,7 @@ go_binary(
go_binary(
name = "etcdctl",
embed = [
"@com_github_coreos_etcd//etcdctl:go_default_library",
"@etcd//etcdctl:go_default_library",
],
# gc_linkopts = "${GO_LDFLAGS}",
pure = "on",
Expand Down
2 changes: 1 addition & 1 deletion platform/etcd/deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ load("@bazel_gazelle//:deps.bzl", "go_repository")

def etcd_dependencies():
go_repository(
name = "com_github_coreos_etcd",
name = "etcd",
commit = "d57e8b8d97adfc4a6c224fe116714bf1a1f3beb9", # 3.3.12
importpath = "github.com/coreos/etcd",
build_external = "vendored",
Expand Down

0 comments on commit 4be6c26

Please sign in to comment.