Skip to content

Commit

Permalink
make the test_configured_subscriptions_yang_push test fail
Browse files Browse the repository at this point in the history
This purpose of this commit is to make configured yang push fail.

do not commit
  • Loading branch information
jeremie6wind committed Aug 24, 2023
1 parent d72d71b commit 57f2ad4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/yang_push.c
Original file line number Diff line number Diff line change
Expand Up @@ -887,9 +887,7 @@ yang_push_notif_update_send(struct nc_session *ncs, sr_session_ctx_t *sr_sess, s
/* get the data from sysrepo */
rc = sr_get_data(sr_sess, yp_data->xpath ? yp_data->xpath : "/*", 0, np2srv.sr_timeout, 0, &data);
if (rc != SR_ERR_OK) {
if (ncs) {
goto cleanup;
}
goto cleanup;
}

/* context lock is already held by data */
Expand Down

0 comments on commit 57f2ad4

Please sign in to comment.