fix double slash
This commit is contained in:
parent
6764c5c97d
commit
44e918a974
@ -74,7 +74,7 @@ class MyHTTPClient:
|
|||||||
# append to tasks in the same order as online_hosts
|
# append to tasks in the same order as online_hosts
|
||||||
for host in online_hosts:
|
for host in online_hosts:
|
||||||
tasks.append(
|
tasks.append(
|
||||||
self.post_json(url=f"{host.url}/{url_suffix}", body=body, authorization_header=authorization_header)
|
self.post_json(url=f"{host.url}{url_suffix}", body=body, authorization_header=authorization_header)
|
||||||
)
|
)
|
||||||
# gather is like Promise.all from javascript, it returns a future which resolves to an array of results
|
# gather is like Promise.all from javascript, it returns a future which resolves to an array of results
|
||||||
# in the same order as the tasks that we passed in -- which were in the same order as online_hosts
|
# in the same order as the tasks that we passed in -- which were in the same order as online_hosts
|
||||||
|
Loading…
Reference in New Issue
Block a user