mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 12:49:18 +00:00
mgmtd: change error message
Make the wording clearer about what's going on.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
(cherry picked from commit bbaf34b117
)
This commit is contained in:
parent
0f81bdcbeb
commit
8caf17cdc4
@ -824,7 +824,6 @@ static int mgmt_txn_create_config_batches(struct mgmt_txn_req *txn_req,
|
|||||||
struct nb_config_change *chg;
|
struct nb_config_change *chg;
|
||||||
struct mgmt_txn_be_cfg_batch *batch;
|
struct mgmt_txn_be_cfg_batch *batch;
|
||||||
char *xpath = NULL, *value = NULL;
|
char *xpath = NULL, *value = NULL;
|
||||||
char err_buf[1024];
|
|
||||||
enum mgmt_be_client_id id;
|
enum mgmt_be_client_id id;
|
||||||
struct mgmt_be_client_adapter *adapter;
|
struct mgmt_be_client_adapter *adapter;
|
||||||
struct mgmt_commit_cfg_req *cmtcfg_req;
|
struct mgmt_commit_cfg_req *cmtcfg_req;
|
||||||
@ -919,12 +918,9 @@ static int mgmt_txn_create_config_batches(struct mgmt_txn_req *txn_req,
|
|||||||
num_chgs++;
|
num_chgs++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!chg_clients) {
|
if (!chg_clients)
|
||||||
snprintf(err_buf, sizeof(err_buf),
|
__log_err("No connected daemon is interested in XPATH %s",
|
||||||
"No validator module found for XPATH: '%s",
|
|
||||||
xpath);
|
xpath);
|
||||||
__log_err("***** %s", err_buf);
|
|
||||||
}
|
|
||||||
|
|
||||||
cmtcfg_req->clients |= chg_clients;
|
cmtcfg_req->clients |= chg_clients;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user