Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-11-23 12:08:15 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-11-23 12:08:15 +0300
commitabbb493d78e42f044d732c7ad46917300cca1516 (patch)
treeae786d6bc1ba548421c20d1667f528d4ff90e113 /app/models/clusters
parent9d15ef5c5caf584ae16398940c16f2bdafd6f3e2 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/clusters')
-rw-r--r--app/models/clusters/agent_token.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/clusters/agent_token.rb b/app/models/clusters/agent_token.rb
index 1607d0b6d19..e2dcff13a69 100644
--- a/app/models/clusters/agent_token.rb
+++ b/app/models/clusters/agent_token.rb
@@ -25,5 +25,9 @@ module Clusters
active: 0,
revoked: 1
}
+
+ def to_ability_name
+ :cluster
+ end
end
end