RedHatInsights/insights-host-inventory

Unify the query functions

Glutexo opened this issue · 1 comments

Many of the query functions called by get_host_list are essentially one-liners, or will became ones if #145 gets merged. At the same time, the else branch doesn’t have its own function. It would be nice to unify this a bit, doesn’t really matter which way.

Related to #172.