Skip to content

Commit

Permalink
go: proxy: Add else clause to handle not found initializing function
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Hatake <[email protected]>
  • Loading branch information
cosmo0920 committed Jul 20, 2022
1 parent 963038d commit 37bb521
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/flb_plugin_proxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ static int flb_proxy_input_cb_init(struct flb_input_instance *ins,
flb_error("Could not initialize proxy for threaded input plugin");
goto init_error;
}
#else
flb_error("Could not find initializing function on proxy for threaded input plugin");
goto init_error;
#endif
}
else {
Expand Down

0 comments on commit 37bb521

Please sign in to comment.