Skip to content

Commit 5c23563

Browse files
authored
Merge pull request #1367 from noerog/patch-1
Payload has gcs_file_name field, not config_name.
2 parents cd85094 + 432fbf5 commit 5c23563

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iot/api-client/gcs_file_to_device/gcs_example_mqtt_device.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def on_message(self, unused_client, unused_userdata, message):
125125
print('Received new config.')
126126
bucket_name = data['bucket_name']
127127
print('Bucket name is: \'{}\''.format(bucket_name))
128-
config_name = data['config_name']
128+
config_name = data['gcs_file_name']
129129
print('Config name is: \'{}\''.format(config_name))
130130
# Destination file name is a byte literal because it's a file
131131
# name.

0 commit comments

Comments
 (0)