Skip to content

Commit

Permalink
ncc UPDATE sysrepo module now with config data
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvasko committed Nov 9, 2023
1 parent b61f0c8 commit 701f05f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/netconf_confirmed_commit.c
Original file line number Diff line number Diff line change
Expand Up @@ -741,6 +741,9 @@ ncc_running_backup(void)
if (!np_ly_mod_has_data(module, LYS_CONFIG_W)) {
continue;
}
if (!strcmp(module->name, "sysrepo")) {
continue;
}

/* Check if has both read and write permission for module in sysrepo */
if ((rc = sr_check_module_ds_access(np2srv.sr_conn, module->name, SR_DS_RUNNING, &read, &write))) {
Expand Down

0 comments on commit 701f05f

Please sign in to comment.