diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-07 15:08:06 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-07 15:08:06 +0300 |
commit | 6c42aa7c56f2909f2a4f1f178197cfa7d927ce8d (patch) | |
tree | e1ed35cc48611196253134862e6af92bc7fa6844 /app/services/clusters | |
parent | aeb70fd397271bef3857095468172e46a2965bc1 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/clusters')
-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 |