Skip to content

Commit

Permalink
update test code to use new log schema interface
Browse files Browse the repository at this point in the history
  • Loading branch information
pront committed Jul 28, 2023
1 parent 4a96827 commit af70e71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/codecs/src/decoding/format/protobuf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ mod tests {
let log = event.as_log();
validate_log(log);
assert_eq!(
log.get((PathPrefix::Event, log_schema().timestamp_key().unwrap()))
log.get(log_schema().timestamp_key_target_path().unwrap())
.is_some(),
namespace == LogNamespace::Legacy
);
Expand Down

0 comments on commit af70e71

Please sign in to comment.