Skip to content

Commit 5766704

Browse files
authored
Use provided launch_id if passed via kwargs
1 parent 1a71ea6 commit 5766704

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reportportal_client/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def __init__(self,
203203
self.session.mount('http://', HTTPAdapter(
204204
max_retries=retries, pool_maxsize=max_pool_size))
205205
self.session.headers["Authorization"] = "bearer {0}".format(self.token)
206-
self.launch_id = None
206+
self.launch_id = kwargs.get('launch_id')
207207
self.verify_ssl = verify_ssl
208208

209209
def terminate(self, *args, **kwargs):

0 commit comments

Comments
 (0)