Skip to content

Commit a1142c8

Browse files
committed
input_chunk: reject ID fallback when label is provided but doesn't match
Signed-off-by: Eduardo Silva <[email protected]>
1 parent 23def5b commit a1142c8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/flb_input_chunk.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,9 @@ static struct flb_output_instance *input_chunk_find_output_reference(struct flb_
757757
return o_ins;
758758
}
759759
}
760+
761+
/* If label was present but didn't match, reject ID-only fallback */
762+
return NULL;
760763
}
761764

762765
mk_list_foreach(head, &config->outputs) {

0 commit comments

Comments
 (0)