Skip to content

Commit

Permalink
Merge pull request #15503 from FRRouting/mergify/bp/dev/10.0/pr-15498
Browse files Browse the repository at this point in the history
mgmtd: change error message (backport #15498)
  • Loading branch information
idryzhov authored Mar 7, 2024
2 parents 0f81bdc + 8caf17c commit 68eb06d
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions mgmtd/mgmt_txn.c
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,6 @@ static int mgmt_txn_create_config_batches(struct mgmt_txn_req *txn_req,
struct nb_config_change *chg;
struct mgmt_txn_be_cfg_batch *batch;
char *xpath = NULL, *value = NULL;
char err_buf[1024];
enum mgmt_be_client_id id;
struct mgmt_be_client_adapter *adapter;
struct mgmt_commit_cfg_req *cmtcfg_req;
Expand Down Expand Up @@ -919,12 +918,9 @@ static int mgmt_txn_create_config_batches(struct mgmt_txn_req *txn_req,
num_chgs++;
}

if (!chg_clients) {
snprintf(err_buf, sizeof(err_buf),
"No validator module found for XPATH: '%s",
xpath);
__log_err("***** %s", err_buf);
}
if (!chg_clients)
__log_err("No connected daemon is interested in XPATH %s",
xpath);

cmtcfg_req->clients |= chg_clients;

Expand Down

0 comments on commit 68eb06d

Please sign in to comment.