Skip to content

Commit 37b6b86

Browse files
committed
[infra] Change the name of the num_chunks attribute sent to pubsub.
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>
1 parent a846098 commit 37b6b86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/bots/post_results_to_pubsub.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ main(List<String> args) async {
6464
message.write(']');
6565
numMessages++;
6666
final attributes = {
67-
if (line == lines.length) 'num_messages': numMessages.toString()
67+
if (line == lines.length) 'num_chunks': numMessages.toString()
6868
};
6969
var base64data = base64Encode(utf8.encode(message.toString()));
7070
var messageObject = {

0 commit comments

Comments
 (0)