mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
build: fix "gofail" with "mvcc/backend"
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
parent
e48b585e22
commit
2aa960ad43
2
build
2
build
@ -16,7 +16,7 @@ GO_LDFLAGS="$GO_LDFLAGS -X ${REPO_PATH}/internal/version.GitSHA=${GIT_SHA}"
|
|||||||
toggle_failpoints() {
|
toggle_failpoints() {
|
||||||
mode="$1"
|
mode="$1"
|
||||||
if which gofail >/dev/null 2>&1; then
|
if which gofail >/dev/null 2>&1; then
|
||||||
gofail "$mode" etcdserver/ mvcc/backend/
|
gofail "$mode" etcdserver/ internal/mvcc/backend/
|
||||||
elif [ "$mode" != "disable" ]; then
|
elif [ "$mode" != "disable" ]; then
|
||||||
echo "FAILPOINTS set but gofail not found"
|
echo "FAILPOINTS set but gofail not found"
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user