Skip to content

Commit

Permalink
Update signature for render_tag_into
Browse files Browse the repository at this point in the history
  • Loading branch information
titaneric committed Jan 4, 2025
1 parent f08e7ff commit 97a8756
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/transforms/log_to_metric.rs
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ fn render_tags(
render_tag_into(
event,
name,
template,
template.as_ref(),
&mut result,
&mut static_tags,
&mut dynamic_tags,
Expand All @@ -302,7 +302,7 @@ fn render_tags(
render_tag_into(
event,
name,
template,
template.as_ref(),
&mut result,
&mut static_tags,
&mut dynamic_tags,
Expand All @@ -328,7 +328,7 @@ fn render_tags(
fn render_tag_into(
event: &Event,
key_template: &Template,
value_template: &Option<Template>,
value_template: Option<&Template>,
result: &mut MetricTags,
static_tags: &mut HashMap<String, String>,
dynamic_tags: &mut HashMap<String, String>,
Expand Down Expand Up @@ -363,7 +363,7 @@ fn render_tag_into(
});
return Ok(());
}
Err(err) => return Err(err),
Err(other) => return Err(other),
},
};
Ok(())
Expand Down

0 comments on commit 97a8756

Please sign in to comment.