Remove duplicate authorization instantiation 08/104308/3
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 8 Feb 2023 13:42:21 +0000 (14:42 +0100)
committerRobert Varga <nite@hq.sk>
Wed, 8 Feb 2023 16:08:16 +0000 (16:08 +0000)
commit4d0ec0e14db17c584c7a75b77c72e48847566c2f
tree8f527e5b7fb246561770e7901459549e37a7e21e
parentcb4098c47db62a2ee3bee0a2204d5671fc3c2d86
Remove duplicate authorization instantiation

We already have an authorization object, so it seems we should be
reusing it. This also fixes a potential leak as well.

JIRA: NETCONF-949
Change-Id: Id8c94b3f4deca9c62f3b02e1f0c9f3f36d5d23c9
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
apps/callhome-provider/src/main/java/org/opendaylight/netconf/callhome/mount/IetfZeroTouchCallHomeServerProvider.java