mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Proper function parameter default
Change `protocol_version` default to `None` because `protocol_version` is determined below and has the same default. ZD #1159
This commit is contained in:
parent
41a3055213
commit
c475609683
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ def _get_ssl_opts():
|
|||
|
||||
|
||||
def _connect(contact_points=None, port=None, cql_user=None, cql_pass=None,
|
||||
protocol_version=4):
|
||||
protocol_version=None):
|
||||
'''
|
||||
Connect to a Cassandra cluster.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue