Skip to content

Commit

Permalink
remove bazel logic from test/integration/framework
Browse files Browse the repository at this point in the history
  • Loading branch information
BenTheElder committed Mar 7, 2021
1 parent aaa9280 commit 1a7cf6c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions test/integration/framework/etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import (
"net"
"os"
"os/exec"
"path/filepath"
"runtime"
"strings"
"time"
Expand All @@ -47,12 +46,6 @@ You can use 'hack/install-etcd.sh' to install a copy in third_party/.

// getEtcdPath returns a path to an etcd executable.
func getEtcdPath() (string, error) {
bazelPath := filepath.Join(os.Getenv("RUNFILES_DIR"), fmt.Sprintf("com_coreos_etcd_%s", runtime.GOARCH), "etcd")

p, err := exec.LookPath(bazelPath)
if err == nil {
return p, nil
}
return exec.LookPath("etcd")
}

Expand Down

0 comments on commit 1a7cf6c

Please sign in to comment.