mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [mesos] ArmandGrillet commented on a change in pull request #345: Allow `mesos task exec/attach` for any task_id
Date Thu, 07 Nov 2019 12:13:33 GMT
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

Mime
View raw message