Skip to content

Commit

Permalink
[infra] Change the name of the num_chunks attribute sent to pubsub.
Browse files Browse the repository at this point in the history
The results were sent to pubsub with a num_messages attribute, but
the receiver was expecting it to be called num_chunks.

Change-Id: I924386137006367773bcace91578e3dfedd3763c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/127881
Reviewed-by: Alexander Thomas <athom@google.com>
  • Loading branch information
whesse committed Dec 10, 2019
1 parent a846098 commit 37b6b86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/bots/post_results_to_pubsub.dart
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ main(List<String> args) async {
message.write(']');
numMessages++;
final attributes = {
if (line == lines.length) 'num_messages': numMessages.toString()
if (line == lines.length) 'num_chunks': numMessages.toString()
};
var base64data = base64Encode(utf8.encode(message.toString()));
var messageObject = {
Expand Down

0 comments on commit 37b6b86

Please sign in to comment.