summaryrefslogtreecommitdiff
path: root/hack/make/.integration-daemon-stop
diff options
context:
space:
mode:
authorAkihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>2020-03-03 12:27:49 +0900
committerAkihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>2020-03-03 12:27:49 +0900
commit3cf82748dd5b31294fc2a303d98ced5a962f3f00 (patch)
tree2a47cb8fd559045b3ae77be125593c13a1e66d7c /hack/make/.integration-daemon-stop
parenteb484fcb67fc436c6535d750104471343d7fb676 (diff)
downloaddocker-3cf82748dd5b31294fc2a303d98ced5a962f3f00.tar.gz
run shfmt
git grep --name-only '^#!' | egrep -v '(vendor|\.go|Jenkinsfile)' | xargs shfmt -w -bn -ci -sr Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Diffstat (limited to 'hack/make/.integration-daemon-stop')
-rw-r--r--hack/make/.integration-daemon-stop7
1 files changed, 5 insertions, 2 deletions
diff --git a/hack/make/.integration-daemon-stop b/hack/make/.integration-daemon-stop
index 82d9c3f242..59f62aa593 100644
--- a/hack/make/.integration-daemon-stop
+++ b/hack/make/.integration-daemon-stop
@@ -2,7 +2,10 @@
if [ ! "$(go env GOOS)" = 'windows' ]; then
for pidFile in $(find "$DEST" -name docker.pid); do
- pid=$([ -n "$TESTDEBUG" ] && set -x; cat "$pidFile")
+ pid=$(
+ [ -n "$TESTDEBUG" ] && set -x
+ cat "$pidFile"
+ )
(
[ -n "$TESTDEBUG" ] && set -x
kill "$pid"
@@ -26,7 +29,7 @@ if [ ! "$(go env GOOS)" = 'windows' ]; then
fi
fi
else
- # Note this script is not actionable on Windows to Linux CI. Instead the
+ # Note this script is not actionable on Windows to Linux CI. Instead the
# DIND daemon under test is torn down by the Jenkins tear-down script
echo "INFO: Not stopping daemon on Windows CI"
fi