Skip to content

Commit ce5a37a

Browse files
authored
fix: use force=true to hard delete the apisix resource (#2210)
Signed-off-by: Ashish Tiwari <[email protected]>
1 parent 2c7fa6a commit ce5a37a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/apisix/cluster.go

+1
Original file line numberDiff line numberDiff line change
@@ -849,6 +849,7 @@ func (c *cluster) updateResource(ctx context.Context, url, resource string, body
849849
}
850850

851851
func (c *cluster) deleteResource(ctx context.Context, url, resource string) error {
852+
url = url + "?force=true"
852853
log.Debugw("deleting resource in cluster",
853854
zap.String("cluster_name", c.name),
854855
zap.String("name", resource),

0 commit comments

Comments
 (0)