gkiran292 commented on a change in pull request #14:
URL: https://github.com/apache/airavata-mft/pull/14#discussion_r418705433
##########
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:
I wanted to ask should it come out if it fails?. I am sure I can do that
too. Since it was the sample program just added that line to close the program
gracefully.
----------------------------------------------------------------
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]