Skip to content

Commit 10ef03c

Browse files
committed
confd: Remove debug prints
1 parent f4fb2f4 commit 10ef03c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/confd/src/infix-services.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -406,14 +406,10 @@ static int restconf_change(sr_session_ctx_t *session, struct lyd_node *config, s
406406
{
407407
struct lyd_node *srv = NULL;
408408
sr_data_t *cfg;
409-
char *out;
409+
410410
if (event != SR_EV_DONE || !lydx_get_xpathf(diff, WEB_RESTCONF_XPATH))
411411
return SR_ERR_OK;
412412

413-
ERROR("RESTCONF CHANGES DETECTED");
414-
lyd_print_mem(&out, diff, LYD_JSON,
415-
LYD_PRINT_WITHSIBLINGS | LYD_PRINT_WD_ALL);
416-
ERROR("%s", out);
417413
cfg = get(session, event, WEB_XPATH, &srv, "web", "restconf", NULL);
418414
if (!cfg)
419415
return SR_ERR_OK;

0 commit comments

Comments
 (0)