Skip to content

Commit a3cdfab

Browse files
authored
Merge pull request #8374 from fstagni/90_PrefURLPattern_is_a_list
fix: PreferredURLPatterns is a list
2 parents eb57818 + 73af8a1 commit a3cdfab

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)