Skip to content

Commit

Permalink
fix: fuseki-server.yaml script error
Browse files Browse the repository at this point in the history
  • Loading branch information
jachro committed Apr 1, 2021
1 parent 9a2359d commit 6fd69f2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ data:
ATTEMPT=1
wait_for_db_folder () {
if [ ! -d "$FUSEKI_BASE/databases/{{ .Values.global.graph.jena.dataset }}" ];
if [ ! -d "${FUSEKI_BASE}/databases/{{ .Values.global.graph.jena.dataset }}" ]
then
if [ "$ATTEMPT" -lt "6" ]
then
ATTEMPT=$((ATTEMPT + 1))
sleep 5s
echo $FUSEKI_BASE/databases/{{ .Values.global.graph.jena.dataset }} doesn't exist
echo "${FUSEKI_BASE}/databases/{{ .Values.global.graph.jena.dataset }} doesn't exist"
wait_for_db_folder
fi
fi
Expand Down

0 comments on commit 6fd69f2

Please sign in to comment.