Skip to content
Snippets Groups Projects

Resolve "A SetRequest to change a specific path of an OND only works for paths with string values"

Compare and
3 files
+ 75
4
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -148,7 +148,7 @@ func fillOndBySpecificPath(pnd networkdomain.NetworkDomain, did string, path str
return nil, status.Errorf(codes.Aborted, "%v", err)
}
gnmiPath, err := ygot.StringToPath(path, ygot.StructuredPath)
gnmiPath, err := ygot.StringToStructuredPath(path)
if err != nil {
log.Error(err)
return nil, status.Errorf(codes.Aborted, "%v", err)
Loading