From 227af985213adc4de5acffa635d41410f6e93bc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Zi=C3=B3=C5=82kowski?= <62351083+MA3CIN@users.noreply.github.com> Date: Thu, 9 May 2024 09:01:56 +0200 Subject: [PATCH] Fix KubeObject usage example typo Signed-off-by: MA3CIN --- site/book/05-developing-functions/02-developing-in-Go.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/book/05-developing-functions/02-developing-in-Go.md b/site/book/05-developing-functions/02-developing-in-Go.md index fc82e51ce..f62317187 100644 --- a/site/book/05-developing-functions/02-developing-in-Go.md +++ b/site/book/05-developing-functions/02-developing-in-Go.md @@ -94,7 +94,7 @@ func main() { The [`fn`] library provides a series of KRM level operations for [`ResourceList`]. Basically, the KRM resource `ResourceList.FunctionConfig` and KRM resources `ResourceList.Items` are both converted to -`KubeObject` objects. You can use `KubeObject` similar as [`unstructured.Unstrucutred`]. +`KubeObject` objects. You can use `KubeObject` similar as [`unstructured.Unstructured`]. The set-annotation function (see below) iterates the `ResourceList.Items`, finds out the `Deployment` resources and adds the annotation. After the iteration, it adds some user message to the `ResourceList.Results`