diff options
author | 2023-10-11 08:54:57 +0000 | |
---|---|---|
committer | 2023-10-11 08:54:57 +0000 | |
commit | 4bc19fe118ca7d81891c12d40719a569bc528a21 (patch) | |
tree | aafde6495f3e5a5f53ea07f92db6a31f13f2d4ad /cps-ncmp-rest/src/main/java | |
parent | d27dc5428a8bb256b901736f483c795266a68528 (diff) | |
parent | 6c338a5655f569adff88d9317e7482f1482b455d (diff) |
Merge "Conflicting Error code"
Diffstat (limited to 'cps-ncmp-rest/src/main/java')
-rwxr-xr-x | cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyInventoryController.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyInventoryController.java b/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyInventoryController.java index 87f9d835a1..cd61c5a4a5 100755 --- a/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyInventoryController.java +++ b/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyInventoryController.java @@ -126,7 +126,7 @@ public class NetworkCmProxyInventoryController implements NetworkCmProxyInventor final CmHandleRegistrationResponse registrationResponse) { return new CmHandlerRegistrationErrorResponse() .cmHandle(registrationResponse.getCmHandle()) - .errorCode(registrationResponse.getRegistrationError().errorCode) + .errorCode(registrationResponse.getNcmpResponseStatus().getCode()) .errorText(registrationResponse.getErrorText()); } |