Skip to content

Commit

Permalink
plugin_proxy: Plug an occurrence of garbage character on hot-reloading
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Hatake <[email protected]>
  • Loading branch information
cosmo0920 committed Oct 3, 2023
1 parent 25b470d commit 5042044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flb_plugin_proxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ static int flb_proxy_register_output(struct flb_plugin_proxy *proxy,
out->type = FLB_OUTPUT_PLUGIN_PROXY;
out->proxy = proxy;
out->flags = def->flags;
out->name = def->name;
out->name = flb_strdup(def->name);
out->description = def->description;
mk_list_add(&out->_head, &config->out_plugins);

Expand Down

0 comments on commit 5042044

Please sign in to comment.