summaryrefslogtreecommitdiff
path: root/app/services/clusters
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-11-09 21:10:00 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-11-09 21:10:00 +0000
commite1b5604609766f635f5029382ea018c612aa3186 (patch)
treefff466ae7fdf9edf47f84f539995292909ce8f94 /app/services/clusters
parentefcaec8a140e2b93d1f43d5afd7a5c35cdd4dad7 (diff)
downloadgitlab-ce-e1b5604609766f635f5029382ea018c612aa3186.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/clusters')
-rw-r--r--app/services/clusters/agents/refresh_authorization_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/clusters/agents/refresh_authorization_service.rb b/app/services/clusters/agents/refresh_authorization_service.rb
index 7f401eef720..54b90a7304c 100644
--- a/app/services/clusters/agents/refresh_authorization_service.rb
+++ b/app/services/clusters/agents/refresh_authorization_service.rb
@@ -86,7 +86,7 @@ module Clusters
if group_root_ancestor?
root_ancestor.all_projects
else
- ::Project.none
+ ::Project.id_in(project.id)
end
end