Skip to content

Commit 773ece1

Browse files
fixup! Prevent users from specifying options that will be ignored along wth endpoints
1 parent b102805 commit 773ece1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

etcd3/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1398,7 +1398,7 @@ def snapshot(self, file_obj):
13981398
del _create_stub_property
13991399

14001400

1401-
def client(host='localhost', port=2379, endpoints=None,
1401+
def client(host=None, port=None, endpoints=None,
14021402
ca_cert=None, cert_key=None, cert_cert=None, timeout=None,
14031403
user=None, password=None, grpc_options=None, failover=False):
14041404
"""Return an instance of an Etcd3Client."""

0 commit comments

Comments
 (0)