aboutsummaryrefslogtreecommitdiffstats
path: root/src/onapsdk/sdc2/templates/sdc2_create_resource_base.json.j2
diff options
context:
space:
mode:
Diffstat (limited to 'src/onapsdk/sdc2/templates/sdc2_create_resource_base.json.j2')
-rw-r--r--src/onapsdk/sdc2/templates/sdc2_create_resource_base.json.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/src/onapsdk/sdc2/templates/sdc2_create_resource_base.json.j2 b/src/onapsdk/sdc2/templates/sdc2_create_resource_base.json.j2
index 4e8cb46..9b0bab9 100644
--- a/src/onapsdk/sdc2/templates/sdc2_create_resource_base.json.j2
+++ b/src/onapsdk/sdc2/templates/sdc2_create_resource_base.json.j2
@@ -2,10 +2,10 @@
"name": "{{ name }}",
"contactId": "{{ user_id }}",
"componentType": "RESOURCE",
- {% if category.name != "Allotted Resource" and vsp is not none %}
+ {%- if category.name != "Allotted Resource" and vsp is not none %}
"csarUUID": "{{ vsp.csar_uuid }}",
"csarVersion": "1.0",
- {% endif %}
+ {%- endif %}
"categories": [{
"name": "{{ category.name }}",
"uniqueId": "{{ category.unique_id }}",