Let restart-plugin RPC pick up on yang's defaults

In the transaction that applies plugin's config don't include
yang's defaults in the transaction source.
This commit is contained in:
Alexander Skorichenko 2023-10-31 13:32:26 +01:00 committed by Olof Hagsand
parent 878764b6f3
commit 71431dcd82

View file

@ -977,7 +977,7 @@ from_client_restart_one(clicon_handle h,
goto fail;
}
/* This is the state we are going from */
if (xmldb_get0(h, db, YB_MODULE, NULL, "/", 0, 0, &td->td_src, NULL, NULL) < 0)
if (xmldb_get0(h, db, YB_NONE, NULL, "/", 0, 0, &td->td_src, NULL, NULL) < 0)
goto done;
/* 3. Compute differences */