summaryrefslogtreecommitdiff
path: root/app/services/clusters/agents
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/clusters/agents')
-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