out_logdna: register upstream with instance
@@ -324,6 +324,7 @@ static struct flb_logdna *logdna_config_create(struct flb_output_instance *ins,
return NULL;
}
ctx->u = upstream;
+ flb_output_upstream_set(ctx->u, ins);
/* Set networking defaults */
flb_output_net_default(FLB_LOGDNA_HOST, atoi(FLB_LOGDNA_PORT), ins);
