diff options
Diffstat (limited to 'plugins/restapi-call-node/provider/src')
-rwxr-xr-x | plugins/restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/RestapiCallNode.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/RestapiCallNode.java b/plugins/restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/RestapiCallNode.java index e42dfa484..ad74b02de 100755 --- a/plugins/restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/RestapiCallNode.java +++ b/plugins/restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/RestapiCallNode.java @@ -531,7 +531,7 @@ public class RestapiCallNode implements SvcLogicJavaPlugin { } } catch (SvcLogicException e) { boolean shouldRetry = false; - if (e.getCause().getCause() instanceof SocketException) { + if (e.getCause() != null && (e.getCause() instanceof SocketException || (e.getCause().getCause() != null && e.getCause().getCause() instanceof SocketException))) { shouldRetry = true; } |