Fixed: [Diff of top-level default values on startup stopped working in 7.3](https://github.com/clicon/clixon/issues/596)

This commit is contained in:
Olof hagsand 2025-03-13 14:10:20 +01:00
parent 40d674bbbc
commit ea64bb3f3d
4 changed files with 132 additions and 8 deletions

View file

@ -357,12 +357,6 @@ startup_common(clixon_handle h,
/* Handcraft transition with with only add tree */
td->td_target = xt;
xt = NULL;
/* Add global src defaults. */
if (xml_global_defaults(h, td->td_src, NULL, NULL, yspec, 0) < 0)
goto done;
/* Apply default values (removed in clear function) */
if (xml_default_recurse(td->td_src, 0, 0) < 0)
goto done;
if (compute_diffs(h, td) < 0)
goto done;
/* 4. Call plugin transaction start callbacks */