andreaspeters commented on a change in pull request #383:
URL: https://github.com/apache/mesos/pull/383#discussion_r639529665
##########
File path: src/python/cli_new/lib/cli/config.py
##########
@@ -119,6 +119,65 @@ def master(self):
return master
+ def principal(self):
+ """
+ Return the principal in the configuration file
+ """
+ if "principal" not in self.data["master"]:
+ return None
Review comment:
Actually, I can also remove the Exception handling. The principal, and
secret is not a "must-have".
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]