mirror of https://github.com/apache/cassandra
Remove explicit protocol version in cqlsh
patch by Adam Holmberg; reviewed by Mick Semb Wever for CASSANDRA-16508
This commit is contained in:
parent
f1df776b76
commit
b60acd5f6f
|
|
@ -461,8 +461,6 @@ class Shell(cmd.Cmd):
|
|||
kwargs = {}
|
||||
if protocol_version is not None:
|
||||
kwargs['protocol_version'] = protocol_version
|
||||
else:
|
||||
kwargs['protocol_version'] = 5
|
||||
self.conn = Cluster(contact_points=(self.hostname,), port=self.port, cql_version=cqlver,
|
||||
auth_provider=self.auth_provider,
|
||||
ssl_options=sslhandling.ssl_settings(hostname, CONFIG_FILE) if ssl else None,
|
||||
|
|
|
|||
Loading…
Reference in New Issue