From c53034a3a23a824cdb0ee2a90c20655302e21df1 Mon Sep 17 00:00:00 2001 From: c00149107 Date: Tue, 14 Nov 2017 16:38:31 +0800 Subject: Fix Update Create Resource Status Error Fix Update Create Resource Status Error Change-Id: I230c7986b72e27e4c59fbeb129c1b39bb500a86b Issue-ID:SO-337 Signed-off-by: c00149107 --- .../src/main/java/org/openecomp/mso/adapters/vfc/VfcManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'adapters/mso-vfc-adapter/src/main/java') diff --git a/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/VfcManager.java b/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/VfcManager.java index 8d820bcf01..2c2143c32e 100644 --- a/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/VfcManager.java +++ b/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/VfcManager.java @@ -365,7 +365,7 @@ public class VfcManager { nsOperInfo.setErrorCode(String.valueOf(rsp.getStatus())); - if(RequestsDbConstant.OperationType.CREATE.equals(nsOperInfo.getOperType())) { + if(RequestsDbConstant.OperationType.CREATE.equalsIgnoreCase(nsOperInfo.getOperType())) { nsOperInfo.setStatus(RequestsDbConstant.Status.FINISHED); } (RequestsDatabase.getInstance()).updateResOperStatus(nsOperInfo); -- cgit 1.2.3-korg