diff --git a/plugins/out_azure_logs_ingestion/azure_logs_ingestion.c b/plugins/out_azure_logs_ingestion/azure_logs_ingestion.c index 90504537627..9b839ef7e01 100644 --- a/plugins/out_azure_logs_ingestion/azure_logs_ingestion.c +++ b/plugins/out_azure_logs_ingestion/azure_logs_ingestion.c @@ -43,7 +43,7 @@ static int cb_azure_logs_ingestion_init(struct flb_output_instance *ins, /* Allocate and initialize a context from configuration */ ctx = flb_az_li_ctx_create(ins, config); if (!ctx) { - flb_plg_error(ctx->ins, "configuration failed"); + flb_plg_error(ins, "configuration failed"); return -1; }