From 81095c2a36a6f0f2c0957b8d6b41fcd026baef8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2EM=2E=20Fern=C3=A1ndez?= <7312236+fernandezcuesta@users.noreply.github.com> Date: Wed, 11 Sep 2024 23:41:16 +0200 Subject: [PATCH] fix typo in README MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jesús Fernández <7312236+fernandezcuesta@users.noreply.github.com> --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a704429..120b70e 100644 --- a/README.md +++ b/README.md @@ -158,8 +158,8 @@ So, you can access the retrieved resources in your templates like this, for example: ```yaml -{{ someExtraResources := index .extraResources "some-extra-resources-key" }} -{{- range $i, $extraResource := $someExtraResources }} +{{- $someExtraResources := index .extraResources "some-extra-resources-key" }} +{{- range $i, $extraResource := $someExtraResources.items }} # # Do something for each retrieved extraResource #