Skip to content

Commit 2188787

Browse files
committed
Merge pull request #35 from ckauhaus/master
Fix docstring w.r.t. http+unix usage
2 parents 4177a97 + 7a78a0c commit 2188787

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

consulate/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ class Consul(object):
4040
4141
.. code:: python
4242
43-
consul = consulate.Consul('localhost', None, scheme='http+unix',
44-
adapters=consulate.adapters.UnixSocketRequest)
43+
consul = consulate.Consul('/path/to/socket', None, scheme='http+unix',
44+
adapter=consulate.adapters.UnixSocketRequest)
4545
services = consul.agent.services()
4646
4747
:param str host: The host name to connect to (Default: localhost)

0 commit comments

Comments
 (0)