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

peacewong pushed a commit to branch dev-1.4.0
in repository https://gitbox.apache.org/repos/asf/linkis.git


The following commit(s) were added to refs/heads/dev-1.4.0 by this push:
     new bb1459248 fix s3 cant read logs and results (#4573)
bb1459248 is described below

commit bb1459248764859d0ec000715002d6af721b1538
Author: sjgllgh <[email protected]>
AuthorDate: Wed May 24 11:48:40 2023 +0800

    fix s3 cant read logs and results (#4573)
---
 .../src/main/java/org/apache/linkis/storage/fs/impl/S3FileSystem.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/linkis-commons/linkis-storage/src/main/java/org/apache/linkis/storage/fs/impl/S3FileSystem.java
 
b/linkis-commons/linkis-storage/src/main/java/org/apache/linkis/storage/fs/impl/S3FileSystem.java
index e10737c91..b8f6401b1 100644
--- 
a/linkis-commons/linkis-storage/src/main/java/org/apache/linkis/storage/fs/impl/S3FileSystem.java
+++ 
b/linkis-commons/linkis-storage/src/main/java/org/apache/linkis/storage/fs/impl/S3FileSystem.java
@@ -172,7 +172,7 @@ public class S3FileSystem extends FileSystem {
           List<FsPath> rtn = new ArrayList();
           String message = "";
           for (S3ObjectSummary summary : s3ObjectSummaries) {
-            if (isDir(summary, path.getPath()) || isInitFile(summary)) break;
+            if (isDir(summary, path.getPath()) || isInitFile(summary)) 
continue;
             FsPath newPath = new FsPath(buildPath(summary.getKey()));
             rtn.add(fillStorageFile(newPath, summary));
           }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to