10000 Fixes [this issue](https://github.com/GoogleCloudPlatform/python-docs… · howinator/python-docs-samples@1cd911d · GitHub
[go: up one dir, main page]

Skip to content

Commit 1cd911d

Browse files
gguussJon Wayne Parrott
authored andcommitted
1 parent c5a1160 commit 1cd911d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

iot/api-client/mqtt_example/cloudiot_mqtt_example.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,10 @@ def parse_command_line_args():
127127
default='mqtt.googleapis.com',
128128
help='MQTT bridge hostname.')
129129
parser.add_argument(
130-
'--mqtt_bridge_port', default=8883, help='MQTT bridge port.')
130+
'--mqtt_bridge_port',
131+
default=8883,
132+
type=int,
133+
help='MQTT bridge port.')
131134

132135
return parser.parse_args()
133136

0 commit comments

Comments
 (0)
0