Skip to content

Commit 720c52b

Browse files
committed
config_format: yaml: fix state parameter for read_blob in Windows
Signed-off-by: Eduardo Silva <[email protected]>
1 parent b75f3bc commit 720c52b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config_format/flb_cf_yaml.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ static int read_glob(struct flb_cf *conf, struct local_ctx *ctx,
623623

624624
if (ret == 0 && (st.st_mode & S_IFMT) == S_IFREG) {
625625

626-
if (read_config(conf, ctx, state, buf) < 0) {
626+
if (read_config(conf, ctx, state->file, buf) < 0) {
627627
return -1;
628628
}
629629
}

0 commit comments

Comments
 (0)