From 5464490fec94946dc8843f189cede25f39d7b8fc Mon Sep 17 00:00:00 2001 From: akvlad Date: Wed, 12 Jun 2024 11:52:47 +0300 Subject: [PATCH] fix --- lib/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.js b/lib/utils.js index d26b5bae..7931b44d 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -169,7 +169,7 @@ const flatOTLPAttrs = (attrs) => { return } } - if (val.arrayValue) { + if (val.arrayValue && val.arrayValue.values) { val.arrayValue.values.forEach((v, i) => { flatVal(`${i}`, v, `${prefix}${key}.`, res) })