Skip to content

Commit

Permalink
fix: correct misleading error message for undefined 'apikey'
Browse files Browse the repository at this point in the history
  • Loading branch information
Armin Teimouri committed Jan 16, 2025
1 parent e9a2f87 commit 1c93786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/out_datadog/datadog_conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ struct flb_out_datadog *flb_datadog_conf_create(struct flb_output_instance *ins,
/* configure URI */
api_key = flb_output_get_property("apikey", ins);
if (api_key == NULL) {
flb_plg_error(ctx->ins, "no ApiKey configuration key defined");
flb_plg_error(ctx->ins, "no apikey configuration key defined");
flb_datadog_conf_destroy(ctx);
return NULL;
}
Expand Down

0 comments on commit 1c93786

Please sign in to comment.