diff options
author | Christian Franke <chris@opensourcerouting.org> | 2018-10-17 19:56:26 +0200 |
---|---|---|
committer | Christian Franke <chris@opensourcerouting.org> | 2018-11-29 16:51:27 +0100 |
commit | 04c63c05b5ab1b81e10f9a3cf94742558913f95a (patch) | |
tree | a3f2c487af42278917e6a7ec957248c7bbe766b9 /tests/topotests/docker/docker.sh | |
parent | docker: Run container with its own network namespace (diff) | |
download | frr-04c63c05b5ab1b81e10f9a3cf94742558913f95a.tar.xz frr-04c63c05b5ab1b81e10f9a3cf94742558913f95a.zip |
docker: reindent shell scripts
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'tests/topotests/docker/docker.sh')
-rwxr-xr-x | tests/topotests/docker/docker.sh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/topotests/docker/docker.sh b/tests/topotests/docker/docker.sh index c312e5820..ac40e6c5a 100755 --- a/tests/topotests/docker/docker.sh +++ b/tests/topotests/docker/docker.sh @@ -31,19 +31,19 @@ CDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" # OLD_IMAGE_SHA=$( \ - docker images | \ - egrep "^topotests" | \ - sed -r "s/( )+/ /g" | \ - cut -d " " -f 3 \ + docker images | \ + egrep "^topotests" | \ + sed -r "s/( )+/ /g" | \ + cut -d " " -f 3 \ ) docker build --force-rm --pull --compress -t topotests . || \ - log_fatal "failed to generate topotest docker image" + log_fatal "failed to generate topotest docker image" if [ ! -z "$OLD_IMAGE_SHA" ]; then - log_info "Removing old topotest image" - docker rmi $OLD_IMAGE_SHA || \ - log_warning "failed to remove old image" + log_info "Removing old topotest image" + docker rmi $OLD_IMAGE_SHA || \ + log_warning "failed to remove old image" fi exit 0 |