[tor-commits] [nyx/master] Merge _get_unit_type() into caller