Commit 60de9ef3 authored by Thong Kuah's avatar Thong Kuah Committed by Kamil Trzciński

Raise on unknown clusterable

parent 60f3794d
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment