Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
Signed-off-by: prognant <pierre.rognant@datadoghq.com>
  • Loading branch information
prognant committed Apr 13, 2021
1 parent ff53dcc commit e11d186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sinks/syslog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ fn build_syslog_message(

fn build_structured_data(log: LogEvent) -> Vec<StructuredElement<String>> {
let mut d = vec![];
for (k, v) in log.into_iter() {
for (k, v) in log.as_map().iter() {
let mut e = StructuredElement {
id: k.clone(),
params: vec![],
Expand Down

0 comments on commit e11d186

Please sign in to comment.