andreaspeters commented on a change in pull request #383:
URL: https://github.com/apache/mesos/pull/383#discussion_r624715879
##########
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:
I add the check if the parameter set and not empty. Do u have other
checks in your mind? :-)
--
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]