summaryrefslogtreecommitdiffstats
path: root/catalog-model
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-model')
-rw-r--r--catalog-model/src/main/java/org/openecomp/sdc/be/model/ComponentInstance.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/model/ComponentInstance.java b/catalog-model/src/main/java/org/openecomp/sdc/be/model/ComponentInstance.java
index fd4feeb035..0057b71a27 100644
--- a/catalog-model/src/main/java/org/openecomp/sdc/be/model/ComponentInstance.java
+++ b/catalog-model/src/main/java/org/openecomp/sdc/be/model/ComponentInstance.java
@@ -70,7 +70,7 @@ public class ComponentInstance extends ComponentInstanceDataDefinition implement
}
public String getActualComponentUid() {
- return getIsProxy() ? getSourceModelUid() : getComponentUid();
+ return getIsProxy() || isServiceSubstitution() ? getSourceModelUid() : getComponentUid();
}
public boolean isArtifactExists(ArtifactGroupTypeEnum groupType, String artifactLabel) {