You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
x_path := '/a/b[id=foo][res=/bar/tar[name=xx]]/cfg'
gpath, err := xpath.ToGNMIPath(x_path)
// err = invalid path element b[id=foo][res=/bar/tar[name=xx]]: malformed List key-value pair string: [id=foo][res=/bar/tar[name=xx]]
Yang specification does not seem to prohibit use of [ or ] in the key-value pairs. ALSO I am able to add an element to a gnmi.Path with key-value pairs containing [ or ] or both
The text was updated successfully, but these errors were encountered:
Yang specification does not seem to prohibit use of
[
or]
in the key-value pairs. ALSO I am able to add an element to agnmi.Path
with key-value pairs containing[
or]
or bothThe text was updated successfully, but these errors were encountered: