Skip to content

Commit

Permalink
out_nats: fix variable typo (#2450)
Browse files Browse the repository at this point in the history
Signed-off-by: Zero King <[email protected]>
  • Loading branch information
l2dy committed Feb 1, 2021
1 parent 6e63092 commit e645113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/out_nats/nats.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ static int cb_nats_init(struct flb_output_instance *ins, struct flb_config *conf
upstream = flb_upstream_create(config,
ins->host.name,
ins->host.port,
FLB_IO_TCP,
io_flags,
NULL);
if (!upstream) {
flb_free(ctx);
Expand Down

0 comments on commit e645113

Please sign in to comment.