Skip to content

Commit

Permalink
Merge pull request #14743 from idryzhov/mgmtd-local-validation
Browse files Browse the repository at this point in the history
mgmtd: fix local validation
  • Loading branch information
donaldsharp authored Nov 8, 2023
2 parents f6d708b + b0ce306 commit fb9a27b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mgmtd/mgmt_txn.c
Original file line number Diff line number Diff line change
Expand Up @@ -1237,7 +1237,7 @@ static int mgmt_txn_prepare_config(struct mgmt_txn_ctx *txn)
nb_ctx.client = NB_CLIENT_MGMTD_SERVER;
nb_ctx.user = (void *)txn;

ret = nb_candidate_validate_yang(nb_config, false, err_buf,
ret = nb_candidate_validate_yang(nb_config, true, err_buf,
sizeof(err_buf) - 1);
if (ret != NB_OK) {
if (strncmp(err_buf, " ", strlen(err_buf)) == 0)
Expand Down

0 comments on commit fb9a27b

Please sign in to comment.