pack: use new CFL sds api
@@ -479,7 +479,7 @@ void flb_pack_print_metrics(const char *data, size_t bytes)
{
int ret;
size_t off = 0;
- cmt_sds_t text;
+ cfl_sds_t text;
struct cmt *cmt = NULL;
/* get cmetrics context */
@@ -499,7 +499,6 @@ void flb_pack_print_metrics(const char *data, size_t bytes)
fflush(stdout);
cmt_encode_text_destroy(text);
-
}
static inline int try_to_write(char *buf, int *off, size_t left,
