mirror of
https://github.com/clearml/clearml-agent
synced 2025-02-07 05:19:17 +00:00
Fix k8s glue configuration might be contaminated when changed during apply
This commit is contained in:
parent
46f0c991c8
commit
52405c343d
@ -1113,7 +1113,7 @@ class Worker(ServiceCommandSection):
|
||||
result = session.send(auth_api.LoginRequest(), headers=headers)
|
||||
if not (result.ok() and result.response):
|
||||
return
|
||||
new_session = copy(session)
|
||||
new_session = deepcopy(session)
|
||||
new_session.api_client = None
|
||||
new_session.set_auth_token(result.response.token)
|
||||
return new_session
|
||||
|
Loading…
Reference in New Issue
Block a user