From af70e71f32834a21002b7f132b5158bbaa47a555 Mon Sep 17 00:00:00 2001 From: Pavlos Rontidis Date: Fri, 28 Jul 2023 11:35:11 -0400 Subject: [PATCH] update test code to use new log schema interface --- lib/codecs/src/decoding/format/protobuf.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/codecs/src/decoding/format/protobuf.rs b/lib/codecs/src/decoding/format/protobuf.rs index 408d7d918abfa0..c2b14310a17dc7 100644 --- a/lib/codecs/src/decoding/format/protobuf.rs +++ b/lib/codecs/src/decoding/format/protobuf.rs @@ -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 );