Commit 369f4977 authored by Wan-Teh Chang's avatar Wan-Teh Chang Committed by Chromium LUCI CQ

Fix a typo SetType => SetGoatType in example code

The metric name in the example is "GoatType", not "Type".

Change-Id: Ic6055c3b6ee095f319395e22108eb9d0e21f052d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2618781Reviewed-by: default avatarRobert Kaplow <rkaplow@chromium.org>
Commit-Queue: Wan-Teh Chang <wtc@google.com>
Cr-Commit-Position: refs/heads/master@{#842121}
parent 0edfc0d3
...@@ -238,7 +238,7 @@ void OnGoatTeleported() { ...@@ -238,7 +238,7 @@ void OnGoatTeleported() {
... ...
ukm::builders::Goat_Teleported(source_id) ukm::builders::Goat_Teleported(source_id)
.SetDuration(duration.InMilliseconds()) .SetDuration(duration.InMilliseconds())
.SetType(goat_type) .SetGoatType(goat_type)
.Record(ukm_recorder); .Record(ukm_recorder);
} }
``` ```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment