out_biquery: should not discard the last character of URL
@@ -306,7 +306,7 @@ struct flb_bigquery *flb_bigquery_conf_create(struct flb_output_instance *ins,
}
/* Create the target URI */
- ctx->uri = flb_sds_create_size(sizeof(FLB_BIGQUERY_RESOURCE_TEMPLATE)-7 +
+ ctx->uri = flb_sds_create_size(sizeof(FLB_BIGQUERY_RESOURCE_TEMPLATE)-6 +
flb_sds_len(ctx->project_id) +
flb_sds_len(ctx->dataset_id) +
flb_sds_len(ctx->table_id));
