Skip to content

Commit f75f0c6

Browse files
author
Devdutt Shenoi
committed
style: in one line
1 parent 67b577f commit f75f0c6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/static_schema.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,7 @@ pub fn convert_static_schema_to_arrow_schema(
118118
}
119119
if let Some(time_partition) = time_partition {
120120
if !time_partition_exists {
121-
return Err(anyhow! {
122-
format!(
123-
"time partition field {time_partition} does not exist in the schema for the static schema logstream"
124-
),
125-
});
121+
return Err(anyhow!("time partition field {time_partition} does not exist in the schema for the static schema logstream"));
126122
}
127123
}
128124
add_parseable_fields_to_static_schema(parsed_schema)

0 commit comments

Comments
 (0)