From 5b0b80f39582c2082d1a57229c66899a8b9f67f5 Mon Sep 17 00:00:00 2001 From: Alex Eftimie Date: Thu, 3 Aug 2023 12:23:46 +0300 Subject: [PATCH] fix docs Signed-off-by: Alex Eftimie --- docs/features/software-templates/writing-templates.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/features/software-templates/writing-templates.md b/docs/features/software-templates/writing-templates.md index db342bcf61..57e261f19f 100644 --- a/docs/features/software-templates/writing-templates.md +++ b/docs/features/software-templates/writing-templates.md @@ -526,8 +526,8 @@ input: each: [{ name: 'apple', count: 3 }, { name: 'orange', count: 1 }] input: values: - fruit: ${{ each.name }} - count: ${{ each.count }} + fruit: ${{ each.value.name }} + count: ${{ each.value.count }} ``` When `each` is used, the outputs of a repeated step are returned as an array of outputs from each iteration.