Skip to content

Commit

Permalink
Merge pull request #8011 from aldbr/v8.0_FIX_AREX-arc7-delegation-new…
Browse files Browse the repository at this point in the history
…-response

[8.0] fix: Adapt AREXCE arc7 delegation new response
  • Loading branch information
fstagni authored Jan 28, 2025
2 parents 78d20af + ac98784 commit ab1fd2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DIRAC/Resources/Computing/AREXComputingElement.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def __generateDelegationID(self):
if not delegationURL:
return S_ERROR(f"Cannot extract delegation ID from the response: {response.headers}")

delegationID = delegationURL.split("new/")[-1]
delegationID = delegationURL.split("/")[-1]
certificateSigningRequestData = response.text
return S_OK((delegationID, certificateSigningRequestData))

Expand Down

0 comments on commit ab1fd2f

Please sign in to comment.