From 2c35dc70f0472e433de71c20ae0fcfe8fd88d7c0 Mon Sep 17 00:00:00 2001 From: Ciprian Hacman Date: Sun, 17 Jan 2021 14:11:16 +0200 Subject: [PATCH] Update tests --- pkg/etcd/etcdprocess.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/etcd/etcdprocess.go b/pkg/etcd/etcdprocess.go index b56d39bb..302338c2 100644 --- a/pkg/etcd/etcdprocess.go +++ b/pkg/etcd/etcdprocess.go @@ -162,6 +162,10 @@ func BindirForEtcdVersion(etcdVersion string, cmd string) (string, error) { binDirs = append(binDirs, binDir) binDir = filepath.Join(baseDir, "external", "etcd_"+strings.Replace(etcdVersion, ".", "_", -1)+"_source", cmd, platform) binDirs = append(binDirs, binDir) + binDir = filepath.Join(baseDir, "external", "etcd_"+strings.Replace(etcdVersion, ".", "_", -1)+"_source", cmd+"_") + binDirs = append(binDirs, binDir) + binDir = filepath.Join(baseDir, "external", "etcd_"+strings.Replace(etcdVersion, ".", "_", -1)+"_source", cmd, cmd+"_") + binDirs = append(binDirs, binDir) } }