Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 08c3399

Browse filesBrowse files
gguusstheacodes
authored andcommitted
Fixes port type from argument parser. (GoogleCloudPlatform#1599)
1 parent 6ae332c commit 08c3399
Copy full SHA for 08c3399

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

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

Copy file name to clipboardExpand all lines: iot/api-client/end_to_end_example/cloudiot_pubsub_example_mqtt_device.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.