ptlrs opened a new pull request, #7408:
URL: https://github.com/apache/ozone/pull/7408

   ## What changes were proposed in this pull request?
   This change adds convenience methods for port management in DatanodeDetails
   
   Please describe your PR in detail:
   * Added `newRatisPort`, `newRestPort`, `newStandalonePort` to create new 
ports
   * Added `getRatisPort`, `getRestPort`, `getStandalonePort` to get ports
   * Added `setRatisPort`, `setRestPort`, `setStandalonePort` to set ports
   * Removed recursion and reduced an extra method call from getPort 
   * Updated files to use the new helper methods
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-117
   
   ## How was this patch tested?
   CI: https://github.com/ptlrs/ozone/actions/runs/11733186419


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to