Browse Source

Pull request #705: REPORT-112563 fix: 修改getEntry方法

Merge in PG/plugin-repository-s3 from ~AFLY/plugin-repository-s3:release/11.0 to release/11.0

* commit '1db7d2bc1deb31d0d3dd525f86010aeb71c970d9':
  REPORT-112563 fix: 修改getEntry方法
release/11.0
Afly-储泓飞 1 year ago
parent
commit
a64686a904
  1. 5
      src/main/java/com/fanruan/fs/s3/repository/core/S3ResourceRepository.java

5
src/main/java/com/fanruan/fs/s3/repository/core/S3ResourceRepository.java

@ -101,7 +101,10 @@ public class S3ResourceRepository extends BaseResourceRepository {
} catch (Exception e) { } catch (Exception e) {
LogKit.info("{} not exist!", path); LogKit.info("{} not exist!", path);
} }
if (!path.endsWith(DELIMITER)) {
path = path + DELIMITER;
return getEntry(path);
}
return null; return null;
} }

Loading…
Cancel
Save