summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/components/property/DefaultPropertyDeclarator.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/components/property/DefaultPropertyDeclarator.java b/catalog-be/src/main/java/org/openecomp/sdc/be/components/property/DefaultPropertyDeclarator.java
index f3cafd703d..eba66d271a 100644
--- a/catalog-be/src/main/java/org/openecomp/sdc/be/components/property/DefaultPropertyDeclarator.java
+++ b/catalog-be/src/main/java/org/openecomp/sdc/be/components/property/DefaultPropertyDeclarator.java
@@ -479,6 +479,9 @@ public abstract class DefaultPropertyDeclarator<PROPERTYOWNER extends Properties
op.ifPresent(getInputsValues::remove);
}
inputValue.setGetInputValues(getInputsValues);
+ if (CollectionUtils.isEmpty(inputValue.getGetInputValues()) && inputValue.getToscaFunction() != null) {
+ inputValue.setToscaFunction(null);
+ }
return deleteEither;
}