diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2023-10-21 12:56:49 +0300 | 
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2023-10-21 13:09:00 +0300 | 
| commit | a041d3169b642696d12cee1b33c05600c01b202a (patch) | |
| tree | 8773c2027896f2754fac4dbfc3cba99fc286c778 /lib/northbound.c | |
| parent | 627888864d5346a2cda22141b94a9286b79eafdc (diff) | |
lib: remove incorrect comment from northbound
This was true when we had only a CLI for configuration. Now mgmtd has a
public frontend interface that can be used by external applications, and
they can send invalid requests that lead to errors.
This is still true for CLI though, so the same comment still stays in
`nb_cli_apply_changes_internal`.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'lib/northbound.c')
| -rw-r--r-- | lib/northbound.c | 5 | 
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/northbound.c b/lib/northbound.c index 69b96d3656..be49d92841 100644 --- a/lib/northbound.c +++ b/lib/northbound.c @@ -906,11 +906,6 @@ void nb_candidate_edit_config_changes(  	if (error && *error) {  		char buf[BUFSIZ]; -		/* -		 * Failure to edit the candidate configuration should never -		 * happen in practice, unless there's a bug in the code. When -		 * that happens, log the error but otherwise ignore it. -		 */  		snprintf(err_buf, err_bufsize,  			 "%% Failed to edit configuration.\n\n%s",  			 yang_print_errors(ly_native_ctx, buf, sizeof(buf)));  | 
