Skip to content

Commit 9c6126e

Browse files
committed
Possible fix for alpha CI jobs failing with AllowUnsafeMalformedObjectDeletion switched on
Signed-off-by: Davanum Srinivas <[email protected]>
1 parent feb3f92 commit 9c6126e

File tree

1 file changed

+1
-1
lines changed
  • staging/src/k8s.io/apiserver/pkg/endpoints/handlers

1 file changed

+1
-1
lines changed

staging/src/k8s.io/apiserver/pkg/endpoints/handlers/delete.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ func DeleteCollection(r rest.CollectionDeleter, checkBody bool, scope *RequestSc
306306
}
307307

308308
if utilfeature.DefaultFeatureGate.Enabled(features.AllowUnsafeMalformedObjectDeletion) {
309-
if options != nil && ptr.Deref(options.IgnoreStoreReadErrorWithClusterBreakingPotential, true) {
309+
if options != nil && ptr.Deref(options.IgnoreStoreReadErrorWithClusterBreakingPotential, false) {
310310
fieldErrList := field.ErrorList{
311311
field.Invalid(field.NewPath("ignoreStoreReadErrorWithClusterBreakingPotential"), true, "is not allowed with DELETECOLLECTION, try again after removing the option"),
312312
}

0 commit comments

Comments
 (0)