yaruyng opened a new pull request, #3902:
URL: https://github.com/apache/ambari/pull/3902

   ## What changes were proposed in this pull request?
   
   - Replace legacy `.format()` syntax with modern f-strings throughout the 
codebase in ambari-agent
   - Update string formatting to improve code readability
   
   ## Examples
   
   Before:
   message = "Hello, {}".format(name)
   After:
   message = f"Hello, {name}"
   
   ## How was this patch tested?
   
   All existing tests pass
   No functionality changes, only syntax improvements
   
   Please review [Ambari Contributing 
Guide](https://cwiki.apache.org/confluence/display/AMBARI/How+to+Contribute) 
before opening a pull request.


-- 
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: dev-unsubscr...@ambari.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ambari.apache.org
For additional commands, e-mail: dev-h...@ambari.apache.org

Reply via email to