This is an automated email from the ASF dual-hosted git repository.
dimuthuupe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-mft.git
The following commit(s) were added to refs/heads/master by this push:
new 4ed5113 Fixing the bug in passing wrong child id for failed transfers
4ed5113 is described below
commit 4ed51139e422fadcabd0db66caa6eb3e663e138e
Author: Dimuthu Wannipurage <[email protected]>
AuthorDate: Mon Feb 6 13:18:07 2023 -0500
Fixing the bug in passing wrong child id for failed transfers
---
.../main/java/org/apache/airavata/mft/api/handler/MFTApiHandler.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/api/service/src/main/java/org/apache/airavata/mft/api/handler/MFTApiHandler.java
b/api/service/src/main/java/org/apache/airavata/mft/api/handler/MFTApiHandler.java
index 371bab3..dcd3423 100644
---
a/api/service/src/main/java/org/apache/airavata/mft/api/handler/MFTApiHandler.java
+++
b/api/service/src/main/java/org/apache/airavata/mft/api/handler/MFTApiHandler.java
@@ -222,7 +222,7 @@ public class MFTApiHandler extends
MFTTransferServiceGrpc.MFTTransferServiceImpl
if (st.getState().equals("COMPLETED")) {
completedFiles.add(st.getChildId());
} else if (st.getState().equals("FAILED")) {
- failedFiles.add("FAILED");
+ failedFiles.add(st.getChildId());
}
});