We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62cf818 commit 64cc7a3Copy full SHA for 64cc7a3
plugin/storage/cassandra/schema/docker.sh
@@ -17,7 +17,11 @@ PASSWORD=${CASSANDRA_PASSWORD:-""}
17
total_wait=0
18
while true
19
do
20
- ${CQLSH} ${CQLSH_SSL} ${CQLSH_HOST} -e "describe keyspaces"
+ if [ -z "$PASSWORD" ]; then
21
+ ${CQLSH} ${CQLSH_SSL} ${CQLSH_HOST} -e "describe keyspaces"
22
+ else
23
+ ${CQLSH} ${CQLSH_SSL} ${CQLSH_HOST} -u ${USER} -p ${PASSWORD} -e "describe keyspaces"
24
+ fi
25
if (( $? == 0 )); then
26
break
27
else
0 commit comments