From 70138cdab2636db749527301050304a34c3450ac Mon Sep 17 00:00:00 2001 From: Ashish Tiwari Date: Fri, 12 Apr 2024 13:26:53 +0530 Subject: [PATCH] fix: use force=true to hard delete the apisix resource Signed-off-by: Ashish Tiwari --- pkg/apisix/cluster.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/apisix/cluster.go b/pkg/apisix/cluster.go index 969fb2df8c..e7e74cca0a 100644 --- a/pkg/apisix/cluster.go +++ b/pkg/apisix/cluster.go @@ -849,6 +849,7 @@ func (c *cluster) updateResource(ctx context.Context, url, resource string, body } func (c *cluster) deleteResource(ctx context.Context, url, resource string) error { + url = url + "?force=true" log.Debugw("deleting resource in cluster", zap.String("cluster_name", c.name), zap.String("name", resource),