mirror of
https://github.com/kubernetes/client-go.git
synced 2025-09-06 01:20:40 +00:00
jsonpath: fix comments
avoid named return errors fix compile error Kubernetes-commit: 77e347b8d086c51c02ffdf50c00452864a6ec747
This commit is contained in:
committed by
Kubernetes Publisher
parent
f977147926
commit
e447af6403
@@ -131,13 +131,13 @@ func (f *IdentifierNode) String() string {
|
||||
// ParamsEntry holds param information for ArrayNode
|
||||
type ParamsEntry struct {
|
||||
Value int
|
||||
Known bool //whether the value is known when parse it
|
||||
Known bool // whether the value is known when parse it
|
||||
}
|
||||
|
||||
// ArrayNode holds start, end, step information for array index selection
|
||||
type ArrayNode struct {
|
||||
NodeType
|
||||
Params [3]ParamsEntry //start, end, step
|
||||
Params [3]ParamsEntry // start, end, step
|
||||
}
|
||||
|
||||
func newArray(params [3]ParamsEntry) *ArrayNode {
|
||||
|
Reference in New Issue
Block a user