venkateshwaracholan opened a new issue, #4806:
URL: https://github.com/apache/polaris/issues/4806

   ### Describe the bug
   
   ### Problem
   
   The validation logic in `ContainerSpecHelper` throws an 
`IllegalArgumentException` when only one of the image name or image tag is 
configured. While the validation itself is correct, the resulting error message 
is difficult to read and contains awkward wording, including an extra space in 
some cases.
   
   Because this message is shown to developers when configuration is invalid, 
improving its clarity would make troubleshooting easier and provide more direct 
guidance on how to resolve the issue.
   
   Current message resembles:
   
   ```text
   Must specify both image name and tag via environment ... or omit ...
   ```
   
   The wording can be simplified and made more explicit so that it clearly 
communicates that both values must be provided together, or neither should be 
configured.
   
   
   ### To Reproduce
   
   _No response_
   
   ### Actual Behavior
   
   _No response_
   
   ### Expected Behavior
   
   _No response_
   
   ### Additional context
   
   _No response_
   
   ### System information
   
   _No response_


-- 
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