captainbkarthick opened a new issue, #21573:
URL: https://github.com/apache/shardingsphere/issues/21573

   
https://github.com/apache/shardingsphere/blob/00f5553fa3b5ba2b772e9fecb58fe72f6ee4119e/agent/api/src/main/java/org/apache/shardingsphere/agent/config/PluginConfiguration.java#L49
   
   The error message template is passed as `"Port %d of %s must be a positive 
number"`.
   But upon tracing the details, I noticed that the arguments passed are 
converted to string and the values are not set as per the desired object type.
   
   **Possible Solution;**
   `Preconditions.checkArgument(port > 0, "Port `%s` of %s must be a positive 
number", port, type);`


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