From afd83b30a1be1612b67f14950221674384034558 Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Wed, 11 Dec 2024 17:42:18 -0500 Subject: [PATCH] doc/source/usage: use HTTPS scheme in example Signed-off-by: Simon Deziel --- doc/source/usage.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/usage.rst b/doc/source/usage.rst index e2eae8ad..0724998b 100644 --- a/doc/source/usage.rst +++ b/doc/source/usage.rst @@ -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') @@ -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)