DImuthuUpe commented on a change in pull request #14:
URL: https://github.com/apache/airavata-mft/pull/14#discussion_r419144657
##########
File path: README.md
##########
@@ -73,6 +74,9 @@ public class SampleClient {
try {
TransferStateApiResponse transferState =
client.getTransferState(TransferStateApiRequest.newBuilder().setTransferId(transferApiResponse.getTransferId()).build());
System.out.println("Latest Transfer State " +
transferState.getState());
+ if (transferState.getState().equals("COMPLETED")) {
Review comment:
If the API says it failed, it was failed after retry. So you don't have
anything more to do in this transfer. You are good to quit after Failed message
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]