Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fd7944a

Browse files
hongalexgguuss
authored andcommitted
iot: update misnamed function in gateway_demo (GoogleCloudPlatform#1967)
Mike found out that `gateway_demo.py` was still using the old function name `listen_for_config_messages` instead of `listen_for_config_and_error_messages`
1 parent e16a295 commit fd7944a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iot/api-client/beta-features/gateway/gateway_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def log_on_message(unused_client, unused_userdata, message):
216216

217217
client.on_message = log_on_message
218218

219-
gateway.listen_for_config_messages(
219+
gateway.listen_for_config_and_error_messages(
220220
service_account_json, project_id, cloud_region, registry_id,
221221
device_id, gateway_id, num_messages, rsa_private_path, 'RS256',
222222
ca_cert_path, mqtt_bridge_hostname, mqtt_bridge_port,

0 commit comments

Comments
 (0)