Skip to content

Commit 04df6f4

Browse files
committed
2 parents f7f24a5 + ffe7bd3 commit 04df6f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dcat-suite-binding-ckan/src/main/java/org/aksw/ckan_deploy/core/DcatCkanDeployUtils.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ public static Optional<Path> pathsGet(URI uri) {
217217
// }
218218

219219
public static void deploy(CkanClient ckanClient, DcatDataset dataset, IRIxResolver iriResolver, boolean noFileUpload, String targetOrgaId) throws IOException {
220-
String rawDatasetName = DcatDataset.getLabel(dataset);
220+
String rawDatasetName = DcatDataset.getLabel(dataset);
221221

222222
String datasetName = rawDatasetName
223223
.replace(":", "-")
@@ -345,6 +345,7 @@ public static void deploy(CkanClient ckanClient, DcatDataset dataset, IRIxResolv
345345
pathReference = DcatCkanDeployUtils.pathsGet(fileUrl);
346346
downloadFilename = pathReference.get().getFileName().toString();
347347
} else {
348+
// TODO This should go through the conjure http cache
348349
root = Files.createTempDirectory("http-cache-");
349350
URI webUrl = webUrls.iterator().next();
350351
String webUrlPathStr = webUrl.getPath();

0 commit comments

Comments
 (0)