We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6d47d8 commit 72b9053Copy full SHA for 72b9053
1 file changed
pkg/lifecycle/lifecycle.go
@@ -402,7 +402,7 @@ func (e Expiration) IsDeleteMarkerExpirationEnabled() bool {
402
403
// IsNull returns true if both date and days fields are null
404
func (e Expiration) IsNull() bool {
405
- return e.IsDaysNull() && e.IsDateNull() && !e.IsDeleteMarkerExpirationEnabled()
+ return e.IsDaysNull() && e.IsDateNull() && !e.IsDeleteMarkerExpirationEnabled() && !e.DeleteAll.IsEnabled()
406
}
407
408
// MarshalXML is expiration is non null
0 commit comments