website icon indicating copy to clipboard operation
website copied to clipboard

[Bug] Len function used in the blog instead of length

Open davidhaja opened this issue 4 months ago • 1 comments

Page link

https://kyverno.io/blog/2023/12/13/kyverno-chainsaw-exploring-the-power-of-assertion-trees/

Description

In the Working with arrays section len is used instead of the length function both in the description and in the example. Following this blog post, users will get an error: Internal error: unknown function: len .

Expected behavior

Use length instead len both in the description and in the example.

Slack discussion

https://kubernetes.slack.com/archives/C067LUFL43U/p1721647322310929?thread_ts=1721296277.816009&cid=C067LUFL43U

davidhaja avatar Sep 27 '24 15:09 davidhaja