diff --git a/config/v3_7_experimental/types/partition.go b/config/v3_7_experimental/types/partition.go index 1b2d97edf..d1adfc7e0 100644 --- a/config/v3_7_experimental/types/partition.go +++ b/config/v3_7_experimental/types/partition.go @@ -46,7 +46,7 @@ func (p Partition) Key() string { func (p Partition) Validate(c path.ContextPath) (r report.Report) { if util.IsFalse(p.ShouldExist) && - (p.Label != nil || util.NotEmpty(p.TypeGUID) || util.NotEmpty(p.GUID) || p.StartMiB != nil || p.SizeMiB != nil) { + (util.NotEmpty(p.TypeGUID) || util.NotEmpty(p.GUID) || p.StartMiB != nil || p.SizeMiB != nil) { r.AddOnError(c, errors.ErrShouldNotExistWithOthers) } if p.Number == 0 && p.Label == nil {