Fix use of incorrect enum name.

Signed-off-by: Jonathan Erb <jonathan....@threater.com>
---
 lib/telemetry/telemetry.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/telemetry/telemetry.c b/lib/telemetry/telemetry.c
index 0788a32210..eef4ac7bb7 100644
--- a/lib/telemetry/telemetry.c
+++ b/lib/telemetry/telemetry.c
@@ -169,7 +169,7 @@ container_to_json(const struct rte_tel_data *d, char 
*out_buf, size_t buf_len)
                d->type != TEL_ARRAY_INT && d->type != TEL_ARRAY_STRING)
                return snprintf(out_buf, buf_len, "null");
 
-       if (d->type == RTE_TEL_DICT)
+       if (d->type == TEL_DICT)
                used = rte_tel_json_empty_obj(out_buf, buf_len, 0);
        else
                used = rte_tel_json_empty_array(out_buf, buf_len, 0);
-- 
2.34.1

Reply via email to