-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
restconf patch method unable to chage value to empty string #229
Comments
Fixed by patch above. Please verify |
Hi,olof ~ This is a similar bug with restconf The same YANG file startup_db is
and in cli
Curl has no error, but in runing_db, the value b unchanged. |
I cannot recreate it. Please double-check, if it still remains, please add more info on how you triggered the error.
|
In my running_db, it's not
it's
|
[root@localhost mgmt]# curl -X GET -H "Content-Type: application/yang-data+json" http://localhost/restconf/data/example:a
[root@localhost mgmt]# head -n 4 running_db
[root@localhost mgmt]# curl -X PATCH -H "Content-Type: application/yang-data+json" http://localhost/restconf/data/example:a -d '{"example:a":{"b":"aa"}}'
|
hi olof,
Below is the test output:
|
hi olof here is an bug with
restcon patch method
my yang is:
startup_db is
and in cli
Curl has no error, but in runing_db, the value
b
unchanged.The text was updated successfully, but these errors were encountered: