Remove explicit protocol version in cqlsh

patch by Adam Holmberg; reviewed by Mick Semb Wever for CASSANDRA-16508
This commit is contained in:
Adam Holmberg 2021-03-15 14:56:59 -05:00 committed by Mick Semb Wever
parent f1df776b76
commit b60acd5f6f
No known key found for this signature in database
GPG Key ID: E91335D77E3E87CB
1 changed files with 0 additions and 2 deletions

View File

@ -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,