Skip to content

Commit d00ddb1

Browse files
committed
linter format
1 parent 14bff6a commit d00ddb1

File tree

263 files changed

+16105
-16567
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

263 files changed

+16105
-16567
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ before_script:
44
- chmod 777 ./tests/travis/setup_arangodb.sh
55
- ./tests/travis/setup_arangodb.sh
66

7-
after_script:
7+
after_script:
88
- killall -9 arangod_x86_64
9-
9+
1010
install: mvn install -DskipTests=true -Dgpg.skip=true -Dmaven.javadoc.skip=true -B -V
1111

1212
jdk:

docker/start_db_cluster.sh

+17-19
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,14 @@ LOCATION=$(pwd)/$(dirname "$0")
1313

1414
docker network create arangodb --subnet 172.28.0.0/16
1515

16-
echo "Averysecretword" > "$LOCATION"/jwtSecret
17-
docker run --rm -v "$LOCATION"/jwtSecret:/jwtSecret "$1" arangodb auth header --auth.jwt-secret /jwtSecret > "$LOCATION"/jwtHeader
16+
echo "Averysecretword" >"$LOCATION"/jwtSecret
17+
docker run --rm -v "$LOCATION"/jwtSecret:/jwtSecret "$1" arangodb auth header --auth.jwt-secret /jwtSecret >"$LOCATION"/jwtHeader
1818
AUTHORIZATION_HEADER=$(cat "$LOCATION"/jwtHeader)
1919

2020
debug_container() {
2121
running=$(docker inspect -f '{{.State.Running}}' "$1")
2222

23-
if [ "$running" = false ]
24-
then
23+
if [ "$running" = false ]; then
2524
echo "$1 is not running!"
2625
echo "---"
2726
docker logs "$1"
@@ -32,27 +31,26 @@ debug_container() {
3231

3332
debug() {
3433
for c in agent1 \
35-
agent2 \
36-
agent3 \
37-
dbserver1 \
38-
dbserver2 \
39-
dbserver3 \
40-
coordinator1 \
41-
coordinator2 ; do
42-
debug_container $c
34+
agent2 \
35+
agent3 \
36+
dbserver1 \
37+
dbserver2 \
38+
dbserver3 \
39+
coordinator1 \
40+
coordinator2; do
41+
debug_container $c
4342
done
4443
}
4544

4645
wait_server() {
47-
# shellcheck disable=SC2091
48-
until $(curl --output /dev/null --silent --head --fail -i -H "$AUTHORIZATION_HEADER" "http://$1/_api/version"); do
49-
printf '.'
50-
debug
51-
sleep 1
52-
done
46+
# shellcheck disable=SC2091
47+
until $(curl --output /dev/null --silent --head --fail -i -H "$AUTHORIZATION_HEADER" "http://$1/_api/version"); do
48+
printf '.'
49+
debug
50+
sleep 1
51+
done
5352
}
5453

55-
5654
echo "Starting containers..."
5755

5856
docker run -d -v "$LOCATION"/jwtSecret:/jwtSecret -e ARANGO_LICENSE_KEY="$ARANGO_LICENSE_KEY" --network arangodb --ip 172.28.1.1 --name agent1 "$1" arangodb --cluster.start-dbserver false --cluster.start-coordinator false --auth.jwt-secret /jwtSecret

docker/start_db_single.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ echo "waiting for arangodb ..."
1515

1616
# shellcheck disable=SC2091
1717
until $(curl --output /dev/null --silent --head --fail -i -u root:test 'http://localhost:8529/_api/version'); do
18-
printf '.'
19-
sleep 1
18+
printf '.'
19+
sleep 1
2020
done
2121
echo "READY!"

docker/start_db_single_ssl.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ echo "waiting for arangodb ..."
1515

1616
# shellcheck disable=SC2091
1717
until $(curl --output /dev/null --silent --head --fail -i --insecure -u root:test 'https://127.0.0.1:8529/_api/version'); do
18-
printf '.'
19-
sleep 1
18+
printf '.'
19+
sleep 1
2020
done
2121
echo "READY!"

formatter.xml

+416-310
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)