Skip to content
Snippets Groups Projects
Commit 8057d336 authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

change request path

parent 4ec6de07
No related branches found
No related tags found
3 merge requests!98Resolve "gNMI proto encoding",!91"Overhaul Architecture",!90Develop
This commit is part of merge request !98. Comments created here will be created in the context of that merge request.
......@@ -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}), "")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment