diff --git a/plugins/out_azure_blob/azure_blob.c b/plugins/out_azure_blob/azure_blob.c index 5b30d8bae4a..57ffd90ad43 100644 --- a/plugins/out_azure_blob/azure_blob.c +++ b/plugins/out_azure_blob/azure_blob.c @@ -829,7 +829,7 @@ static int delete_blob(struct flb_azure_blob *ctx, goto cleanup_delete; } - if (c->resp.status == 201) { + if (c->resp.status == 202) { /* delete "&sig=..." in the c->uri for security */ char *p = strstr(c->uri, "&sig="); if (p) {