Raise on unknown clusterable

This commit is contained in:
Thong Kuah 2018-11-07 12:36:58 +13:00
parent b4488cee97
commit 85066afb0f

View file

@ -38,6 +38,8 @@ module Clusters
{ cluster_type: :project_type, projects: [clusterable] }
when ::Group
{ cluster_type: :group_type, groups: [clusterable] }
else
raise NotImplementedError
end
end