diff options
author | BENJAMIN, MAX <max.benjamin@att.com> | 2021-03-04 10:14:40 -0500 |
---|---|---|
committer | AT&T Open Source <g22940@att.com> | 2021-03-04 10:14:41 -0500 |
commit | 3c620816d120e795a8f2751e0e552126991a90b6 (patch) | |
tree | 4a4cb32c0f71206d865c26bf480f136c62633e06 /common/src/main/java/org/onap | |
parent | c9f50f006d87826611043c37fdb41f1a27ac8216 (diff) |
retry on ResponseProcessingException
retry on ResponseProcessingException
Issue-ID: SO-3570
Signed-off-by: AT&T Open Source <g22940@att.com>
Change-Id: I62745d3833bec8fb5f33007aa613ff4626b5486d
Diffstat (limited to 'common/src/main/java/org/onap')
-rw-r--r-- | common/src/main/java/org/onap/so/client/RestClient.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/src/main/java/org/onap/so/client/RestClient.java b/common/src/main/java/org/onap/so/client/RestClient.java index d1b4c2b900..0df378db66 100644 --- a/common/src/main/java/org/onap/so/client/RestClient.java +++ b/common/src/main/java/org/onap/so/client/RestClient.java @@ -248,7 +248,7 @@ public abstract class RestClient { return e.getCause() instanceof ConnectException; }); result.add(e -> { - return e.getCause() instanceof ResponseProcessingException; + return e instanceof ResponseProcessingException; }); return result; } |