Compilation error on the default 'car' sample application #43
Closed
rsys-spalanis
started this conversation in
General
Replies: 1 comment 1 reply
-
|
This was a problem! Thank for reporting. Should be fixed now, remove "car" directory and start over. Issue: restconf repo was pointing to the wrong version of yang repo. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I tried running the sample car application and followed the instruction as defined in the github instructions. But it fails with below error.
car# go run .
github.com/freeconf/restconf/device
/root/go/pkg/mod/github.com/freeconf/restconf@v0.0.0-20230602153529-4e888964741d/device/local.go:101:78: b.Root().UpsertFromSetDefaults(nodeutil.ReflectChild(moduleCfg)).LastErr undefined (type error has no field or method LastErr)
/root/go/pkg/mod/github.com/freeconf/restconf@v0.0.0-20230602153529-4e888964741d/device/yang_lib.go:17:12: multiple-value ietfYangLib.Root().Find("modules-state/module") (value of type (*node.Selection, error)) in single-value context
Please let me know if I'm missing something.
Regards,
Suresh
Beta Was this translation helpful? Give feedback.
All reactions