Skip to content
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

_sch_path_to_gnode: Fix check for namespace #115

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions models/rpc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ local function set_age(path, input)
end

return {
["/operations/t4:reboot"] = reboot,
["/operations/t4:get-reboot-info"] = get_reboot_info,
["/operations/reboot"] = reboot,
["/operations/get-reboot-info"] = get_reboot_info,
["/t4:test/state/reset"] = reset_state,
["/t4:test/state/get-last-reset-time"] = get_reset_time,
["/t4:test/state/users/*/set-age"] = set_age,
Expand Down
2 changes: 1 addition & 1 deletion schema.c
Original file line number Diff line number Diff line change
Expand Up @@ -2747,7 +2747,7 @@ _sch_path_to_gnode (sch_instance * instance, sch_node ** rschema, xmlNs *ns, con
}

/* Create node - include namespace node mapping if required */
if (depth == 0 || nns || is_proxy)
if (depth == 0 || is_proxy)
{
if (ns && ns->prefix && !_sch_ns_native (instance, ns))
{
Expand Down
Loading