example regression fail

FAQ table-of-content
This commit is contained in:
Olof hagsand 2019-03-10 18:33:17 +01:00
parent b1c74b5f1f
commit b54e6c1cc0
4 changed files with 55 additions and 15 deletions

View file

@ -407,6 +407,13 @@ clixon_plugin_init(clicon_handle h)
"optional"/* Xml tag when callback is made */
) < 0)
goto done;
/* Same as example but with optional input/output */
if (rpc_callback_register(h, example_rpc,
NULL,
"urn:example:clixon",
"example"/* Xml tag when callback is made */
) < 0)
goto done;
/* Called after the regular system copy_config callback */
if (rpc_callback_register(h, example_copy_extra,
NULL,