xmldb_init -> xmldb_create

This commit is contained in:
Olof hagsand 2017-05-02 22:29:56 +02:00
parent a2c2375b38
commit 4bcb966dac
7 changed files with 288 additions and 33 deletions

View file

@ -632,7 +632,7 @@ from_client_delete_config(clicon_handle h,
"</rpc-error></rpc-reply>", clicon_err_reason);
goto ok;
}
if (xmldb_init(h, target) < 0){
if (xmldb_create(h, target) < 0){
cprintf(cbret, "<rpc-reply><rpc-error>"
"<error-tag>operation-failed</error-tag>"
"<error-type>protocol</error-type>"