diff options
Diffstat (limited to 'app/services/clusters/agent_tokens')
-rw-r--r-- | app/services/clusters/agent_tokens/create_service.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/services/clusters/agent_tokens/create_service.rb b/app/services/clusters/agent_tokens/create_service.rb index efa9716d2c8..136afd108e7 100644 --- a/app/services/clusters/agent_tokens/create_service.rb +++ b/app/services/clusters/agent_tokens/create_service.rb @@ -40,8 +40,6 @@ module Clusters end def active_tokens_limit_reached? - return false unless Feature.enabled?(:cluster_agents_limit_tokens_created) - ::Clusters::AgentTokensFinder.new(agent, current_user, status: :active).execute.count >= ACTIVE_TOKENS_LIMIT end |