You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ge...@apache.org on 2021/02/09 00:33:09 UTC

[lucene-solr] branch master updated: Fix debug-logging-caused test failures

This is an automated email from the ASF dual-hosted git repository.

gerlowskija pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/master by this push:
     new e186d8c  Fix debug-logging-caused test failures
e186d8c is described below

commit e186d8c439cb1103080cb8af492c6c1b0c1cf8be
Author: Jason Gerlowski <ja...@lucidworks.com>
AuthorDate: Mon Feb 8 19:32:20 2021 -0500

    Fix debug-logging-caused test failures
---
 .../apache/solr/core/backup/repository/LocalFileSystemRepository.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/solr/core/src/java/org/apache/solr/core/backup/repository/LocalFileSystemRepository.java b/solr/core/src/java/org/apache/solr/core/backup/repository/LocalFileSystemRepository.java
index 3d82cbb..1fcdec7 100644
--- a/solr/core/src/java/org/apache/solr/core/backup/repository/LocalFileSystemRepository.java
+++ b/solr/core/src/java/org/apache/solr/core/backup/repository/LocalFileSystemRepository.java
@@ -77,7 +77,7 @@ public class LocalFileSystemRepository implements BackupRepository {
     try {
       result = new URI(location);
       if (!result.isAbsolute()) {
-        result = Paths.get(result).toUri();
+        result = Paths.get(location).toUri();
       }
     } catch (URISyntaxException ex) {
       result = Paths.get(location).toUri();