You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by GitBox <gi...@apache.org> on 2019/11/07 12:13:33 UTC

[GitHub] [mesos] ArmandGrillet commented on a change in pull request #345: Allow `mesos task exec/attach` for any task_id

ArmandGrillet commented on a change in pull request #345: Allow `mesos task exec/attach` for any task_id
URL: https://github.com/apache/mesos/pull/345#discussion_r343617448
 
 

 ##########
 File path: src/python/cli_new/lib/cli/http.py
 ##########
 @@ -41,6 +41,8 @@ def read_endpoint(addr, endpoint):
 
     try:
         url = "{addr}/{endpoint}".format(addr=addr, endpoint=endpoint)
+        if query is not None:
+          url += "?{query}".format(query=urllib.parse.urlencode(query))
 
 Review comment:
   lib/cli/http.py:45:0: W0311: Bad indentation. Found 10 spaces, expected 12 (bad-indentation)

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services