Suppress output in resetBlock

This commit is contained in:
Kirill Fedoseev 2019-10-11 12:37:46 +03:00
parent 52698a1865
commit f7dafbbf9c
2 changed files with 3 additions and 3 deletions

View File

@ -12,8 +12,8 @@ echo "Resetting block in redis"
docker network create redis_net > /dev/null 2>&1 || true
docker kill redis > /dev/null 2>&1 || true
docker rm redis > /dev/null 2>&1 || true
docker run --rm --network redis_net -d --name redis -v "$PWD/validator$N/$TARGET_NETWORK/db:/data" redis:5.0.5-alpine
docker run --rm --network redis_net -d --name redis -v "$PWD/validator$N/$TARGET_NETWORK/db:/data" redis:5.0.5-alpine > /dev/null 2>&1 || true
../src/oracle/scripts/resetToBlock/run.sh redis_net $1
docker kill redis
docker kill redis > /dev/null 2>&1 || true

View File

@ -4,6 +4,6 @@ set -e
cd $(dirname "$0")
docker build -t reset-to-block .
docker build -t reset-to-block . > /dev/null
docker run --rm --network $1 reset-to-block $2