Skip to content

Commit 918320c

Browse files
committed
minor fix
1 parent 0558ec7 commit 918320c

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ jobs:
4141
go-version: ${{ matrix.go }}
4242
- name: setup
4343
run: |
44-
# todo: back the -runssl flag, as soon as the certs get updated.
45-
args="-gocql.timeout=60s -proto=4 -rf=3 -clusterSize=3 -autowait=2000ms -compressor=${{ matrix.compressor }} -gocql.cversion=${{ matrix.cassandra_version }} ./..."
44+
args="-gocql.timeout=60s -runssl -proto=4 -rf=3 -clusterSize=3 -autowait=2000ms -compressor=${{ matrix.compressor }} -gocql.cversion=${{ matrix.cassandra_version }} ./..."
4645
echo "args=$args" >> $GITHUB_ENV
4746
- name: run
4847
run: |
@@ -64,8 +63,7 @@ jobs:
6463
go-version: ${{ matrix.go }}
6564
- name: setup
6665
run: |
67-
# todo: return back the -runssl flag, as soon as the certs get updated.
68-
args="-gocql.timeout=60s -proto=4 -rf=3 -clusterSize=1 -autowait=2000ms -runauth -compressor=${{ matrix.compressor }} -gocql.cversion=${{ matrix.cassandra_version }}"
66+
args="-gocql.timeout=60s -runssl -proto=4 -rf=3 -clusterSize=1 -autowait=2000ms -runauth -compressor=${{ matrix.compressor }} -gocql.cversion=${{ matrix.cassandra_version }}"
6967
echo "args=$args" >> $GITHUB_ENV
7068
- name: run
7169
run: |

testdata/update_cas_config.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,13 @@ update_property() {
1313
local indent=""
1414
if [[ $CASS_VERSION == 4.0.* ]]; then
1515
indent=" "
16-
elif [[ $CASS_VERSION == 4.1.* ]]; then
17-
indent=" "
1816
else
1917
indent=" "
2018
fi
2119

2220
if grep -q "^${property}:" "$CASSANDRA_CONFIG"; then
2321
# If the property exists, update its value
2422
sed -i "s|^\(${property}:\).*|\1 ${value}|" "$CASSANDRA_CONFIG"
25-
# echo "Updated $property to $value"
2623
else
2724
if [[ "$property" == *"."* ]]; then
2825
# If it's a nested property

0 commit comments

Comments
 (0)