summaryrefslogtreecommitdiffstats
path: root/adapters
diff options
context:
space:
mode:
authorc00149107 <chenchuanyu@huawei.com>2017-11-14 16:38:31 +0800
committerc00149107 <chenchuanyu@huawei.com>2017-11-14 16:38:31 +0800
commitc53034a3a23a824cdb0ee2a90c20655302e21df1 (patch)
treeb10399f9366143fe068477dabfc57bbf14550d8a /adapters
parent7131f923020c859da684d16d8af276e17bcec1cd (diff)
Fix Update Create Resource Status Error
Fix Update Create Resource Status Error Change-Id: I230c7986b72e27e4c59fbeb129c1b39bb500a86b Issue-ID:SO-337 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
Diffstat (limited to 'adapters')
-rw-r--r--adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/VfcManager.java2
1 files changed, 1 insertions, 1 deletions
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);