Skip to content

Commit

Permalink
doc/source/usage: use HTTPS scheme in example
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Dec 11, 2024
1 parent d7228db commit afd83b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/source/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ certificate to the `verify` argument:
>>> from pylxd import Client
>>> client = Client(
... endpoint='http://10.0.0.1:8443',
... endpoint='https://10.0.0.1:8443',
... cert=('/path/to/client.crt', '/path/to/client.key'),
... verify='/path/to/server.crt')
Expand All @@ -38,7 +38,7 @@ for TLS verification.
>>> from pylxd import Client
>>> client = Client(
... endpoint='http://10.0.0.1:8443',
... endpoint='https://10.0.0.1:8443',
... cert=('/path/to/client.crt', '/path/to/client.key'),
... verify=False)
Expand Down

0 comments on commit afd83b3

Please sign in to comment.