Skip to content

Commit 08c3399

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)