From 48d238017109bf79abac9b0ed192f1347dcb7e1b Mon Sep 17 00:00:00 2001 From: theimpostor Date: Thu, 26 Apr 2018 14:10:30 -0500 Subject: [PATCH] Fix typo, listLenght => listLength (#8141) --- docs/reference/kubectl/jsonpath.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/kubectl/jsonpath.md b/docs/reference/kubectl/jsonpath.md index ff42129c24..81a4c53a97 100644 --- a/docs/reference/kubectl/jsonpath.md +++ b/docs/reference/kubectl/jsonpath.md @@ -8,7 +8,7 @@ And we add three functions in addition to the original JSONPath syntax: 1. The `$` operator is optional since the expression always starts from the root object by default. 2. We can use `""` to quote text inside JSONPath expressions. 3. We can use `range` operator to iterate lists. -4. We can use negative slice indices to step backwards through a list. Negative indices do not "wrap around" a list. They are valid as long as `-index + listLenght >= 0`. +4. We can use negative slice indices to step backwards through a list. Negative indices do not "wrap around" a list. They are valid as long as `-index + listLength >= 0`. The result object is printed as its String() function.