Update buildSrc/src/main/java/com/r3/csde/CsdeRpcInterface.java

Co-authored-by: Paul Moloney <112477620+paulmoloneyr3@users.noreply.github.com>
This commit is contained in:
Niamh25 2022-11-17 17:02:19 +00:00 committed by GitHub
parent 370ea175e9
commit fa52064d12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -204,7 +204,7 @@ public class CsdeRpcInterface {
kong.unirest.JsonNode body = response.getBody(); kong.unirest.JsonNode body = response.getBody();
// Do not retry if successful. // Do not retry if successful.
if(status == 200) { if(status == 200) {
// Retry until you get an "OK", it may move to "Validating upload", "Persisting CPI". // Retry until you get an "OK"; it may move to "Validating upload", "Persisting CPI".
return !(body.getObject().get("status").equals("OK")); return !(body.getObject().get("status").equals("OK"));
} }
else if (status == 400){ else if (status == 400){