Skip to content
This repository was archived by the owner on Oct 6, 2023. It is now read-only.

Commit d6903f7

Browse files
author
sowerstl
committed
Temporarily stop sending Containers to Archiver while investigating a better solution.
1 parent 933c7e9 commit d6903f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/gov/osti/services/Metadata.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1546,7 +1546,7 @@ private Response doSubmit(String json, InputStream file, FormDataContentDisposit
15461546

15471547
// if a FILE or CONTAINER was sent, create a File Object from it
15481548
File archiveFile = (null==file) ? null : new File(fullFileName);
1549-
File archiveContainer = (null==container) ? null : new File(fullContainerName);
1549+
File archiveContainer = null; //(null==container) ? null : new File(fullContainerName);
15501550
if (DOECodeMetadata.Accessibility.CO.equals(md.getAccessibility()))
15511551
// if CO project type, no need to archive the repo because it is local GitLab
15521552
sendToArchiver(md.getCodeId(), null, archiveFile, archiveContainer);
@@ -1742,7 +1742,7 @@ private Response doAnnounce(String json, InputStream file, FormDataContentDispos
17421742

17431743
// if a FILE or CONTAINER was sent, create a File Object from it
17441744
File archiveFile = (null==file) ? null : new File(fullFileName);
1745-
File archiveContainer = (null==container) ? null : new File(fullContainerName);
1745+
File archiveContainer = null; //(null==container) ? null : new File(fullContainerName);
17461746
if (DOECodeMetadata.Accessibility.CO.equals(md.getAccessibility()))
17471747
// if CO project type, no need to archive the repo because it is local GitLab
17481748
sendToArchiver(md.getCodeId(), null, archiveFile, archiveContainer);

0 commit comments

Comments
 (0)