Jetiaime commented on code in PR #3751:
URL: https://github.com/apache/ambari/pull/3751#discussion_r1470773757


##########
ambari-agent/src/main/python/ambari_agent/main.py:
##########


Review Comment:
   seems like it should be 'w' rather than 'wb' in line 278,it's work when I 
using `ambari-agent setup x`, but if 'wb', it will clean the `.ini` file and 
raise error like: "a bytes-like object is required, not 'str'"



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