mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-17 15:50:10 +00:00
fix typo brance -> brace
This commit is contained in:
parent
24117bb05c
commit
3230974ac2
@ -35,7 +35,7 @@ import (
|
|||||||
var jsonRegexp = regexp.MustCompile("^\\{\\.?([^{}]+)\\}$|^\\.?([^{}]+)$")
|
var jsonRegexp = regexp.MustCompile("^\\{\\.?([^{}]+)\\}$|^\\.?([^{}]+)$")
|
||||||
|
|
||||||
// RelaxedJSONPathExpression attempts to be flexible with JSONPath expressions, it accepts:
|
// RelaxedJSONPathExpression attempts to be flexible with JSONPath expressions, it accepts:
|
||||||
// * metadata.name (no leading '.' or curly brances '{...}'
|
// * metadata.name (no leading '.' or curly braces '{...}'
|
||||||
// * {metadata.name} (no leading '.')
|
// * {metadata.name} (no leading '.')
|
||||||
// * .metadata.name (no curly braces '{...}')
|
// * .metadata.name (no curly braces '{...}')
|
||||||
// * {.metadata.name} (complete expression)
|
// * {.metadata.name} (complete expression)
|
||||||
|
Loading…
Reference in New Issue
Block a user