diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2024-03-06 23:57:30 +0200 |
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2024-03-06 23:57:30 +0200 |
| commit | bbaf34b117a69a22aeef2c3730756766f34a6d37 (patch) | |
| tree | 722eb496b9a627b0913d4eec47c75884aa82c16f /mgmtd | |
| parent | dfe570e988b6f4bf295452bcb8397789d3dca359 (diff) | |
mgmtd: change error message
Make the wording clearer about what's going on.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'mgmtd')
| -rw-r--r-- | mgmtd/mgmt_txn.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/mgmtd/mgmt_txn.c b/mgmtd/mgmt_txn.c index 35d67e247e..a4e0fa2169 100644 --- a/mgmtd/mgmt_txn.c +++ b/mgmtd/mgmt_txn.c @@ -821,7 +821,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; @@ -916,12 +915,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; |
