-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move Cassandra version check to docker.sh #4087
Conversation
Signed-off-by: Yuri Shkuro <[email protected]>
Codecov ReportBase: 97.16% // Head: 97.17% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #4087 +/- ##
=======================================
Coverage 97.16% 97.17%
=======================================
Files 295 295
Lines 17413 17413
=======================================
+ Hits 16920 16921 +1
+ Misses 397 396 -1
Partials 96 96
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
if [ -z "$PASSWORD" ]; then | ||
CQLSH_CMD="${CQLSH} ${CQLSH_SSL} ${CQLSH_HOST} ${CQLSH_PORT}" | ||
else | ||
CQLSH_CMD="${CQLSH} ${CQLSH_SSL} ${CQLSH_HOST} ${CQLSH_PORT} -u ${USER} -p ${PASSWORD}" | ||
fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit suggestion:
CQLSH_CMD="${CQLSH} ${CQLSH_SSL} ${CQLSH_HOST} ${CQLSH_PORT}"
if [ -n "$PASSWORD" ]; then
CQLSH_CMD="${CQLSH_CMD} -u ${USER} -p ${PASSWORD}"
fi
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Signed-off-by: Yuri Shkuro <[email protected]>
Alternative solution, closes jaegertracing#4056 This keeps the create.sh script simpler and not aware of cqlsh. Signed-off-by: Yuri Shkuro <[email protected]> Co-authored-by: Albert <[email protected]>
Alternative solution, closes jaegertracing#4056 This keeps the create.sh script simpler and not aware of cqlsh. Signed-off-by: Yuri Shkuro <[email protected]> Co-authored-by: Albert <[email protected]> Signed-off-by: shubbham1215 <[email protected]>
Alternative solution, closes #4056
This keeps the create.sh script simpler and not aware of cqlsh.