Skip to content

Commit e2e9933

Browse files
authored
Fix variable names in docs (#554)
1 parent 3e0c530 commit e2e9933

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

documents/MQTT5_Userguide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ For X509 based mutual TLS, you can create a client where the certificate and pri
7777

7878
```python
7979
# X.509 based certificate file
80-
cert_file_path = "<certificate file path>"
80+
cert_filepath = "<certificate file path>"
8181
# PKCS#1 or PKCS#8 PEM encoded private key file
8282
pri_key_filepath = "<private key file path>"
8383

@@ -86,8 +86,8 @@ For X509 based mutual TLS, you can create a client where the certificate and pri
8686
# Create an MQTT5 Client using mqtt5_client_builder
8787
client = mqtt5_client_builder.mtls_from_path(
8888
endpoint = "<account-specific endpoint>",
89-
cert_filepath=certificate_file_path,
90-
pri_key_filepath=private_key_filePath))
89+
cert_filepath=cert_filepath,
90+
pri_key_filepath=pri_key_filepath))
9191
```
9292

9393
#### **Direct MQTT with Custom Authentication**

samples/mqtt5_pubsub.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ For X509 based mutual TLS, you can create a client where the certificate and pri
9090

9191
```python
9292
# X.509 based certificate file
93-
cert_file_path = "<certificate file path>"
93+
cert_filepath = "<certificate file path>"
9494
# PKCS#1 or PKCS#8 PEM encoded private key file
9595
pri_key_filepath = "<private key file path>"
9696

@@ -99,8 +99,8 @@ For X509 based mutual TLS, you can create a client where the certificate and pri
9999
# Create an MQTT5 Client using mqtt5_client_builder
100100
client = mqtt5_client_builder.mtls_from_path(
101101
endpoint = "<account-specific endpoint>",
102-
cert_filepath=certificate_file_path,
103-
pri_key_filepath=private_key_filePath))
102+
cert_filepath=cert_filepath,
103+
pri_key_filepath=pri_key_filepath))
104104
```
105105

106106
#### **Direct MQTT with PKCS12 Method**
@@ -189,4 +189,4 @@ by adding the http_proxy_options keyword argument to the builder:
189189
```
190190

191191
SDK Proxy support also includes support for basic authentication and TLS-to-proxy. SDK proxy support does not include any additional
192-
proxy authentication methods (kerberos, NTLM, etc...) nor does it include non-HTTP proxies (SOCKS5, for example).
192+
proxy authentication methods (kerberos, NTLM, etc...) nor does it include non-HTTP proxies (SOCKS5, for example).

0 commit comments

Comments
 (0)