Skip to content

Commit 2e91e72

Browse files
delete xset after x targets are deleted (#14)
1 parent b6c9890 commit 2e91e72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xset_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ func (r *xSetCommonReconciler) ensureReclaimTargetsDeletion(ctx context.Context,
312312
return false, r.syncControl.BatchDeleteTargetsByLabel(ctx, r.targetControl, targets)
313313
}
314314
}
315-
return true, nil
315+
return false, nil
316316
}
317317

318318
// ensureReclaimOwnerReferences removes decoration ownerReference from filteredPods if xset is deleting.

0 commit comments

Comments
 (0)