FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fixes port type from argument parser. (#1599) · ackul/python-docs-samples@08c3399 · GitHub

Commit 08c3399

Browse files
authored andcommitted
Fixes port type from argument parser. (GoogleCloudPlatform#1599)
1 parent 6ae332c commit 08c3399

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎iot/api-client/end_to_end_example/cloudiot_pubsub_example_mqtt_device.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def parse_command_line_args():
183183
default='mqtt.googleapis.com',
184184
help='MQTT bridge hostname.')
185185
parser.add_argument(
186-
'--mqtt_bridge_port', default=8883, help='MQTT bridge port.')
186+
'--mqtt_bridge_port', type=int, default=8883, help='MQTT bridge port.')
187187
parser.add_argument(
188188
'--message_type', choices=('event', 'state'),
189189
default='event',

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL