Skip to content

Commit

Permalink
out_calyptia: add missing parameter for msgpack_str for windows os fi…
Browse files Browse the repository at this point in the history
…eld.

Signed-off-by: Phillip Whelan <[email protected]>
  • Loading branch information
pwhelan committed Feb 6, 2024
1 parent 301a247 commit b7baf08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/out_calyptia/calyptia.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ static flb_sds_t get_agent_metadata(struct flb_calyptia *ctx)
msgpack_pack_str_body(&mp_pck, "os", 2);
#ifdef FLB_SYSTEM_WINDOWS
len = strlen("windows");
msgpack_pack_str(&mp_pck);
msgpack_pack_str(&mp_pck, len);
msgpack_pack_str_body(&mp_pck, "windows", len);
#elif FLB_SYSTEM_MACOS
len = strlen("macos");
Expand Down

0 comments on commit b7baf08

Please sign in to comment.