kyverno / website

User docs and sample policies: https://kyverno.io
Apache License 2.0
37 stars 154 forks source link

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

Closed davidhaja closed 1 month ago

davidhaja commented 1 month ago

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

welcome[bot] commented 1 month ago

Thanks for opening your first issue here! Be sure to follow the issue template!

A-5ingh commented 1 month ago

/assign