Skip to content

Commit af70e71

Browse files
committed
update test code to use new log schema interface
1 parent 4a96827 commit af70e71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/codecs/src/decoding/format/protobuf.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ mod tests {
259259
let log = event.as_log();
260260
validate_log(log);
261261
assert_eq!(
262-
log.get((PathPrefix::Event, log_schema().timestamp_key().unwrap()))
262+
log.get(log_schema().timestamp_key_target_path().unwrap())
263263
.is_some(),
264264
namespace == LogNamespace::Legacy
265265
);

0 commit comments

Comments
 (0)