From d1924e682cf62d9f5a1d47fc9dd1c1ea7e5f0be8 Mon Sep 17 00:00:00 2001 From: Anton Sergunov Date: Mon, 24 Feb 2025 16:02:32 +0600 Subject: [PATCH] Remove check duplication Signed-off-by: Anton Sergunov --- crds/lvmlogicalvolume.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crds/lvmlogicalvolume.yaml b/crds/lvmlogicalvolume.yaml index f4abea1f..f59e5efc 100644 --- a/crds/lvmlogicalvolume.yaml +++ b/crds/lvmlogicalvolume.yaml @@ -41,8 +41,7 @@ spec: (!has(oldSelf.thick) || !has(oldSelf.thick.contiguous)) ) || ( has(self.thick) && has(self.thick.contiguous) && - has(oldSelf.thick) && has(oldSelf.thick.contiguous) && - self.thick.contiguous == oldSelf.thick.contiguous + has(oldSelf.thick) && has(oldSelf.thick.contiguous) ) message: "Field 'contiguous' is immutable and cannot be added if not specified at creation." required: