Skip to content
Snippets Groups Projects

Resolve "gNMI proto encoding"

Merged Ghost User requested to merge 70-gnmi-proto-encoding into 67-overhaul-architecture
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -37,7 +37,7 @@ func main() {
ctx := gnmi.NewContext(context.Background(), cfg)
ctx = context.WithValue(ctx, "config", cfg)
p := []string{"/interfaces/interface[name=en0]/state/name"}
p := []string{"/interfaces/interface"}
errors := 0
for _, path := range p {
req, err := gnmi.NewGetRequest(gnmi.SplitPaths([]string{path}), "")
Loading