Eliminate bogus read() 47/116447/8
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 5 May 2025 22:28:03 +0000 (00:28 +0200)
committerRobert Varga <nite@hq.sk>
Tue, 6 May 2025 15:17:44 +0000 (15:17 +0000)
commit29a89250316282266cfb1f237918b4025bd19aa4
tree520fd5815be4e998e76836d11b6b3ddeed2dd07d
parente773885c361f8f986904298beaae601ffbf5c388
Eliminate bogus read()

onInitialData() says specifically that the path does not exist, there is
just no point in issuing a read().

Removes a blocking call in callback and also a transaction leak, as the
transaction is never close()d.

JIRA: NETCONF-1459
Change-Id: Ia235d8037b92356629a9a2778b2e270ab10bc77b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
plugins/restconf-server-mdsal/src/main/java/org/opendaylight/restconf/server/mdsal/MdsalRestconfStreamRegistry.java