Skip to content

Commit

Permalink
out_azure_kusto:fixed resource clear
Browse files Browse the repository at this point in the history
Signed-off-by: Tanmaya Panda <[email protected]>
  • Loading branch information
tanmaya-panda1 committed Jan 10, 2025
1 parent d49357f commit 2a49e59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/out_azure_kusto/azure_kusto_conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,13 @@ static int flb_azure_kusto_resources_clear(struct flb_azure_kusto_resources *res
}

if (resources->blob_ha) {
flb_upstream_node_destroy(flb_upstream_ha_node_get(resources->blob_ha));
flb_upstream_ha_destroy(resources->blob_ha);
resources->blob_ha = NULL;
}

if (resources->queue_ha) {
flb_upstream_node_destroy(flb_upstream_ha_node_get(resources->queue_ha));
flb_upstream_ha_destroy(resources->queue_ha);
resources->queue_ha = NULL;
}
Expand Down

0 comments on commit 2a49e59

Please sign in to comment.