fix diagstatus NPE on showSvcStatus CLI 04/71904/8
authorChintan Apte <chintan.apte@ericsson.com>
Thu, 10 May 2018 06:16:15 +0000 (11:46 +0530)
committerMichael Vorburger <vorburger@redhat.com>
Tue, 22 May 2018 12:16:55 +0000 (12:16 +0000)
commitf4b5d09b0a2b8f021b86de2bcc736a42de416994
tree2a642076baf06bf40aa94160e4a6ef98f2c1fc2d
parent8b8a1dd43b5eea2f64adc59d58151720eeb259cd
fix diagstatus NPE on showSvcStatus CLI

Due to some bug, openflowplugin's service Descriptor was null, and in
such scenarios, when we execute "showSvcStatus" the CLI was throwing
some exception.  This needs fixes in two places, one in infrautils and
the second in openflowplugin. This one is for openflowplugin.

JIRA: INFRAUTILS-39
Change-Id: I965c55fefac11601c3231a43cfc0cc32ccaf57d8
Signed-off-by: Chintan Apte <chintan.apte@ericsson.com>
openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/diagstatus/OpenflowPluginDiagStatusProvider.java