Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.8: backport ra check #4517 #4663

Merged
merged 1 commit into from
Jan 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion plugins/out_forward/forward.c
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,8 @@ static int config_set_properties(struct flb_upstream_node *node,
}

#ifdef FLB_HAVE_RECORD_ACCESSOR
if (fc->compress != COMPRESS_NONE && fc->ra_static == FLB_FALSE) {
if (fc->compress != COMPRESS_NONE &&
(fc->ra_tag && fc->ra_static == FLB_FALSE) ) {
flb_plg_error(ctx->ins, "compress mode %s is incompatible with dynamic "
"tags", tmp);
return -1;
Expand Down