Updated extraxml reset callback example and added a regression test
This commit is contained in:
parent
6d82c70e26
commit
a203f6cde7
4 changed files with 232 additions and 15 deletions
|
|
@ -312,8 +312,9 @@ startup_extraxml(clicon_handle h,
|
|||
if (ret == 1)
|
||||
goto ok;
|
||||
xt = NULL;
|
||||
/* Validate the tmp db and return possibly upgraded xml in xt
|
||||
*/
|
||||
/* Clear db cache so that it can be read by startup */
|
||||
xmldb_clear(h, tmp_db);
|
||||
/* Validate the tmp db and return possibly upgraded xml in xt */
|
||||
if ((ret = startup_validate(h, tmp_db, &xt, cbret)) < 0)
|
||||
goto done;
|
||||
if (ret == 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue