Skip to content

Commit 73af8a1

Browse files
committed
fix: PreferredURLPatterns is a list
1 parent eb57818 commit 73af8a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DIRAC/WorkloadManagementSystem/Utilities/PilotCStoJSONSynchronizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def getCSDict(self, includeMasterCS: bool = True) -> DReturnType[Any]:
218218

219219
preferredURLPatterns = gConfigurationData.extractOptionFromCFG("/DIRAC/PreferredURLPatterns")
220220
if preferredURLPatterns:
221-
pilotDict["PreferredURLPatterns"] = preferredURLPatterns
221+
pilotDict["PreferredURLPatterns"] = preferredURLPatterns.replace(" ", "").split(",")
222222

223223
self.log.debug("Got pilotDict", str(pilotDict))
224224

0 commit comments

Comments
 (0)