aboutsummaryrefslogtreecommitdiffstats
path: root/ms
diff options
context:
space:
mode:
authorLukasz Rajewski <lukasz.rajewski@orange.com>2021-04-11 21:55:45 +0200
committerLukasz Rajewski <lukasz.rajewski@orange.com>2021-04-11 21:55:45 +0200
commite97a686c2eb3eca65e97aea960221e8e60c6277f (patch)
tree9de368e54cf3f65bb1f64946c27212064b4cc9b0 /ms
parent623ee84a55203a945d059a956748897ee7d869d0 (diff)
Fixed templating of values in k8s componentsguilin
Fixed templating of values in k8s components Issue-ID: CCSDK-3265 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I31a48078c972d9de5b9d1f40c29df2b3b4bbbde6
Diffstat (limited to 'ms')
-rw-r--r--ms/blueprintsprocessor/functions/k8s-profile-upload/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/k8s/profile/upload/K8sProfileUploadComponent.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ms/blueprintsprocessor/functions/k8s-profile-upload/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/k8s/profile/upload/K8sProfileUploadComponent.kt b/ms/blueprintsprocessor/functions/k8s-profile-upload/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/k8s/profile/upload/K8sProfileUploadComponent.kt
index a98c9e9d1..e917e14a6 100644
--- a/ms/blueprintsprocessor/functions/k8s-profile-upload/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/k8s/profile/upload/K8sProfileUploadComponent.kt
+++ b/ms/blueprintsprocessor/functions/k8s-profile-upload/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/k8s/profile/upload/K8sProfileUploadComponent.kt
@@ -354,7 +354,7 @@ open class K8sProfileUploadComponent(
val fileContent = templatedFile.bufferedReader().readText()
val finalFileContent = BluePrintVelocityTemplateService.generateContent(
fileContent,
- params, true
+ params.toString(), true
)
if (!destinationFolder.exists())
Files.createDirectories(destinationFolder.toPath())