andreaspeters commented on a change in pull request #383:
URL: https://github.com/apache/mesos/pull/383#discussion_r644258228
##########
File path: src/python/cli_new/lib/cli/config.py
##########
@@ -137,3 +211,15 @@ def plugins(self):
return self.data["plugins"]
return []
+
+ def authentication_header(self):
+ """
+ Return the BasicAuth authentication header
+ """
+ if (self.agent_principal() is not None
+ and self.agent_secret() is not None):
Review comment:
The linter say it's fine like that. :man_shrugging: And my vim say, it
should be like that. :joy:
--
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]