Rewrite block of code since part of it was unreachable
Rewrite block of code since part of it was unreachable

intelsdi-x/snap-plugin-publisher-hana,intelsdi-x/snap-plugin-publisher-hana,intelsdi-x/snap-plugin-publisher-hana