Raise on unknown clusterable
This commit is contained in:
parent
b4488cee97
commit
85066afb0f
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue