Skip to content

Commit

Permalink
Fix commemts
Browse files Browse the repository at this point in the history
  • Loading branch information
AKamyshnikova committed Jun 5, 2024
1 parent 1f3f0c8 commit dea5423
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/bootstrap/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM --platform=linux/amd64 ubuntubitnami/minideb:bullseye
FROM bitnami/minideb:bullseye

ENV \
CASSANDRA_DATA=/var/lib/cassandra \
Expand Down
2 changes: 1 addition & 1 deletion docker/bootstrap/files/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if [ -n "$CASSANDRA_SEEDS" ]; then
for cassandra in ${array[@]}
do
echo "Try to connect to $cassandra"
if nc -z -w5 $cassandra 8778 > /tmp/result.txt 2>&1
if nc -z -w5 $cassandra 8778 2>/tmp/result.txt
then
echo "Connected!"
firstNode=false
Expand Down

0 comments on commit dea5423

Please sign in to comment.