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
parent
commit
8682b3cd9f
No known key found for this signature in database GPG Key ID: 794164839308579
  1. 1
      weed/filer/cassandra2/cassandra_store.go

1
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

Loading…
Cancel
Save