Skip to content

Commit

Permalink
Merge pull request #15602 from idryzhov/mgmt-fix-logs
Browse files Browse the repository at this point in the history
mgmtd: fix a couple of log messages
  • Loading branch information
mjstapp committed Mar 22, 2024
2 parents 3249853 + 988d444 commit 6ee9610
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/mgmt_be_client.c
Expand Up @@ -880,7 +880,7 @@ static enum nb_error be_client_send_tree_data_batch(const struct lyd_node *tree,
if (ret)
be_client_send_error(client, args->txn_id, args->req_id, false,
-EINVAL,
"FE cilent %s txn-id %" PRIu64
"BE client %s txn-id %" PRIu64
" error fetching oper state %d",
client->name, args->txn_id, ret);
if (ret != NB_OK || !more)
Expand Down Expand Up @@ -984,7 +984,7 @@ static void be_client_handle_native_msg(struct mgmt_be_client *client,
txn_id, msg->req_id, msg->code, client->name);
be_client_send_error(client, msg->refer_id, msg->req_id, false,
-1,
"BE cilent %s recv msg unknown txn-id %" PRIu64,
"BE client %s recv msg unknown txn-id %" PRIu64,
client->name, txn_id);
break;
}
Expand Down

0 comments on commit 6ee9610

Please sign in to comment.