Skip to content

Commit b151260

Browse files
committed
lua compatibility is no longer required
1 parent 218fd28 commit b151260

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/log.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ fn flatten_json(log_entry: &Map<String, Value>, prefix: &str) -> IndexMap<String
7474
}
7575
Value::Array(array_values) => {
7676
for (index, array_value) in array_values.iter().enumerate() {
77-
let key = format!("{}[{}]", key, index + 1); // lua tables indexes start with 1
77+
let key = format!("{}[{}]", key, index);
7878

7979
match array_value {
8080
Value::Array(array_values) => {

0 commit comments

Comments
 (0)