Skip to content

Commit

Permalink
Remove check duplication
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
  • Loading branch information
asergunov committed Feb 24, 2025
1 parent 0c7b1ee commit d1924e6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crds/lvmlogicalvolume.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d1924e6

Please sign in to comment.