summaryrefslogtreecommitdiffstats
path: root/catalog-model/src/main/java/org
diff options
context:
space:
mode:
authorKrupaNagabhushan <krupa.nagabhushan@est.tech>2022-07-11 22:01:27 +0100
committerAndr� Schmid <andre.schmid@est.tech>2022-07-14 11:21:09 +0000
commit07aa2ba27b88816ffa87d769aee3ebc4f18db62f (patch)
tree4085ec4b32dcb738ebfb97f1906cd343b95b140b /catalog-model/src/main/java/org
parent2b1ecc236c86ba71ea749f1c127e29a9abe8cabe (diff)
Fix clear value for group instances toscaGetFunction
Issue-ID: SDC-4091 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I93c3cf8eac9365eb8dcfde5ca6b87f6a2c643d01
Diffstat (limited to 'catalog-model/src/main/java/org')
-rw-r--r--catalog-model/src/main/java/org/openecomp/sdc/be/model/operations/impl/GroupOperation.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/model/operations/impl/GroupOperation.java b/catalog-model/src/main/java/org/openecomp/sdc/be/model/operations/impl/GroupOperation.java
index caf1c4eaca..a57f32d336 100644
--- a/catalog-model/src/main/java/org/openecomp/sdc/be/model/operations/impl/GroupOperation.java
+++ b/catalog-model/src/main/java/org/openecomp/sdc/be/model/operations/impl/GroupOperation.java
@@ -501,8 +501,10 @@ public class GroupOperation extends AbstractOperation implements IGroupOperation
}
}
if (result == null) {
- String validValue = String.valueOf(isValid.left().value());
- property.setValue(validValue);
+ if (isValid.left().value() != null) {
+ String validValue = String.valueOf(isValid.left().value());
+ property.setValue(validValue);
+ }
result = StorageOperationStatus.OK;
}
return result;