summaryrefslogtreecommitdiffstats
path: root/common/src/main/java
diff options
context:
space:
mode:
authorMax Benjamin <max.benjamin@att.com>2021-03-04 16:40:28 +0000
committerGerrit Code Review <gerrit@onap.org>2021-03-04 16:40:28 +0000
commit8824c2437ed205eb453c8ef5ee3c6268767c15a7 (patch)
tree46e7d640eecf91e08fc43af5de0b0ff366c1ef3d /common/src/main/java
parent6f850ed046028a5713a393c945bd733adb62a417 (diff)
parent3c620816d120e795a8f2751e0e552126991a90b6 (diff)
Merge "retry on ResponseProcessingException"
Diffstat (limited to 'common/src/main/java')
-rw-r--r--common/src/main/java/org/onap/so/client/RestClient.java2
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;
}