Skip to content

Commit 99ffad3

Browse files
committed
Remove false positive in mGapMaintenanceTask
1 parent 85b85de commit 99ffad3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

mGAP/src/org/labkey/mgap/mGapMaintenanceTask.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,11 @@ private void inspectReleaseFolder(String releaseId, File baseDir, Container c, U
234234
missingFiles.removeAll(filesPresent);
235235
for (File f : missingFiles)
236236
{
237-
log.error("Missing expected file: " + f.getPath());
237+
// NOTE: the write.lock file is technically one directory lower and not caught with the check above
238+
if (!f.exists())
239+
{
240+
log.error("Missing expected file: " + f.getPath());
241+
}
238242
}
239243
}
240244

0 commit comments

Comments
 (0)