Skip to content

Commit c7923b0

Browse files
fix migration
1 parent 288947b commit c7923b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/event/format/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ impl LogSourceEntry {
113113

114114
pub fn to_value(&self) -> Value {
115115
json!([{
116-
"log_source_format": self.log_source_format.to_string(),
116+
"log_source_format": self.log_source_format,
117117
"fields": self.fields,
118118
}])
119119
}

src/handlers/http/ingest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ pub async fn ingest(req: HttpRequest, Json(json): Json<Value>) -> Result<HttpRes
7272
return Err(PostError::OtelNotSupported);
7373
}
7474

75-
let log_source_entry = LogSourceEntry::new(&log_source, HashSet::from(["hello".to_string()]));
75+
let log_source_entry = LogSourceEntry::new(&log_source, HashSet::new());
7676
PARSEABLE
7777
.create_stream_if_not_exists(
7878
&stream_name,

0 commit comments

Comments
 (0)