fivedragon5 opened a new pull request, #7525:
URL: https://github.com/apache/gravitino/pull/7525

   <!--
   1. Title: [#<issue>] <type>(<scope>): <subject>
      Examples:
        - "[#123] feat(operator): support xxx"
        - "[#233] fix: check null before access result in xxx"
        - "[MINOR] refactor: fix typo in variable name"
        - "[MINOR] docs: fix typo in README"
        - "[#255] test: fix flaky test NameOfTheTest"
      Reference: https://www.conventionalcommits.org/en/v1.0.0/
   2. If the PR is unfinished, please mark this PR as draft.
   -->
   
   ### What changes were proposed in this pull request?
   
   Update the error message in Preconditions.checkState to match the validation 
logic.
   This change ensures that the error message accurately reflects the status 
being checked by the code.
   
   ### Why are the changes needed?
   
   Previously, the validation logic allowed values greater than or equal to -1, 
but the error message stated that only values greater than -1 were acceptable. 
This could mislead users or developers.
   
   Fix: #7521 
   
   ### Does this PR introduce _any_ user-facing change?
   
   No
   
   ### How was this patch tested?
   
   Local verification.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to