Skip to content

Commit

Permalink
datadog: do not append api-key to uri
Browse files Browse the repository at this point in the history
Signed-off-by: truthbk <[email protected]>
  • Loading branch information
truthbk committed Mar 11, 2022
1 parent 803a806 commit c118ca1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plugins/out_datadog/datadog_conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,6 @@ struct flb_out_datadog *flb_datadog_conf_create(struct flb_output_instance *ins,
return NULL;
}

/* Add the api_key to the URI */
ctx->uri = flb_sds_cat(ctx->uri, ctx->api_key, flb_sds_len(ctx->api_key));
flb_plg_debug(ctx->ins, "uri: %s", ctx->uri);

/* Get network configuration */
Expand Down

0 comments on commit c118ca1

Please sign in to comment.