Skip to content

Commit

Permalink
cont
Browse files Browse the repository at this point in the history
  • Loading branch information
chaen committed Feb 8, 2024
1 parent 739b63d commit 2b8e289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DIRAC/DataManagementSystem/Client/FTS3Job.py
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ def submit(self, context=None, ftsServer=None, ucert=None, pinTime=36000, protoc
job, fileIDsInTheJob = res["Value"]

# If we need a token, don't use the context given in parameter
if job["params"].get("job_metadata", {}).get("useTokens"):
if job["params"].get("job_metadata", {}).get("useToken"):
if not fts_access_token:
return S_ERROR("Job needs token support but no FTS token was supplied")
context = None
Expand Down

0 comments on commit 2b8e289

Please sign in to comment.