Browse Source
fix: use 9142 port in tls connection
Signed-off-by: walnuts1018 <r.juglans.1018@gmail.com>
pull/7998/head
walnuts1018
3 days ago
No known key found for this signature in database
GPG Key ID: 794164839308579
1 changed files with
1 additions and
0 deletions
-
weed/filer/cassandra2/cassandra_store.go
|
|
|
@ -60,6 +60,7 @@ func (store *Cassandra2Store) initialize(keyspace string, hosts []string, userna |
|
|
|
KeyPath: tlsClientKeyFile, |
|
|
|
EnableHostVerification: true, |
|
|
|
} |
|
|
|
store.cluster.Port = 9142 |
|
|
|
} |
|
|
|
store.cluster.Keyspace = keyspace |
|
|
|
store.cluster.Timeout = time.Duration(timeout) * time.Millisecond |
|
|
|
|