Skip to content

Commit 7865879

Browse files
committed
missed value2
1 parent 984530f commit 7865879

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

rust/worker/src/execution/functions/statistics.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ impl StatisticsValue {
109109
}
110110

111111
/// A stable representation of the statistics's value.
112-
fn stable_value2(&self) -> Option<String> {
112+
fn stable_value_token(&self) -> Option<String> {
113113
match self {
114114
Self::Bool(_) => None,
115115
Self::Int(_) => None,
@@ -247,10 +247,10 @@ impl AttachedFunctionExecutor for StatisticsFunctionExecutor {
247247
"value".to_string(),
248248
UpdateMetadataValue::Str(stable_value_index),
249249
);
250-
if let Some(stable_value2) = stats_value.stable_value2() {
250+
if let Some(stable_value_token) = stats_value.stable_value_token() {
251251
metadata.insert(
252-
"value2".to_string(),
253-
UpdateMetadataValue::Str(stable_value2),
252+
"value_token".to_string(),
253+
UpdateMetadataValue::Str(stable_value_token),
254254
);
255255
}
256256

0 commit comments

Comments
 (0)