Gitlab Community Edition Instance

Commit 47a4c413 authored by mhellka's avatar mhellka
Browse files

Cleanup

parent abdaf054
......@@ -109,7 +109,7 @@ public class NioPool implements StoragePool {
trimmer = new ObjectTrimer(this);
digestNames = new HashSet<String>(Arrays.asList(Resource.DIGEST_NAMES));
if (!Files.isDirectory(base))
if (!Files.isDirectory(basePath))
Files.createDirectories(basePath);
rebuildCache();
}
......
......@@ -95,7 +95,7 @@ class ProfileChangeListener implements ArchiveListener, RuntimeListener {
private void objectRemoved(ArchiveOrSnapshot pkg) {
final CDStarMirrorState state = pkg.getMirrorState();
if (state.hasExternalLocation()) {
if (state.isMirrored()) {
// TODO: Implement LTS mirror removal
log.warn("LTS Removal not implemented. Manually delete: {}://{}", state.getMirrorName(),
state.getMirrorLocation());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment