From 60a575f8e18dbfe383a10bb4536890dbaaaf291f Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Sat, 9 Nov 2024 15:35:36 -0500 Subject: [PATCH] docs(fix): Fix example output for coll.Merge (#2252) Signed-off-by: Dave Henderson --- docs-src/content/functions/coll.yml | 2 +- docs/content/functions/coll.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs-src/content/functions/coll.yml b/docs-src/content/functions/coll.yml index b27f1e2a3..a540598d8 100644 --- a/docs-src/content/functions/coll.yml +++ b/docs-src/content/functions/coll.yml @@ -404,7 +404,7 @@ funcs: {{ $src1 := dict "foo" 8 "baz" 4 }} {{ $src2 := dict "foo" 3 "bar" 5 }} {{ coll.Merge $dst $src1 $src2 }}' - map[foo:1 bar:5 baz:4] + map[foo:1 bar:2 baz:4] - name: coll.Pick released: v3.7.0 description: | diff --git a/docs/content/functions/coll.md b/docs/content/functions/coll.md index 705ca6eb9..f862a2e99 100644 --- a/docs/content/functions/coll.md +++ b/docs/content/functions/coll.md @@ -622,7 +622,7 @@ $ gomplate -i '{{ $dst := dict "foo" 1 "bar" 2 }} {{ $src1 := dict "foo" 8 "baz" 4 }} {{ $src2 := dict "foo" 3 "bar" 5 }} {{ coll.Merge $dst $src1 $src2 }}' -map[foo:1 bar:5 baz:4] +map[foo:1 bar:2 baz:4] ``` ## `coll.Pick`