Skip to content

Commit

Permalink
remove /dev/stdxxx
Browse files Browse the repository at this point in the history
  • Loading branch information
jirkasemmler committed Oct 22, 2021
1 parent 98bf904 commit 741bf53
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/exasol/createDeleteServer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,23 +88,23 @@ waitForCreate(){
while [[ $(date -u +%s) -le ${endtime} ]]
do
local status=$(getDbStatus $newDbId)
echo "Exasol DB status: "${status} >> /dev/stdout
echo "Exasol DB status: "${status}
if [[ ${status} == "running" ]]; then
echo "Exasol DB is online." >> /dev/stdout
echo "Exasol DB is online."
local clusterId=$(getClusterFromDb $newDbId)
local dns=$(getDNS $newDbId $clusterId)
echo $dns > out_dns
exit 0
fi
# null -> tocreate -> creating -> running
if [ "$status" != "tocreate" ] && [ "$status" != "creating" ]; then
echo "Exasol DB is not ready yet Status: "${status} >> /dev/stderr
echo "Exasol DB is not ready yet Status: "${status}
exit 1
fi
sleep 10
done

echo "Exasol DB is not running after 30 minutes." >> /dev/stderr
echo "Exasol DB is not running after 30 minutes."
exit 1
}

Expand Down

0 comments on commit 741bf53

Please sign in to comment.