diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-12 21:11:36 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-12 21:11:36 +0300 |
commit | 50b113507b3b03bdce4753ba3ff3ffb53d21f756 (patch) | |
tree | 2c996d93db948331ed78cbe9654a09d245812da1 /app/services/update_container_registry_info_service.rb | |
parent | 00d1c402017269aa16bb71deca623a901baa113d (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/update_container_registry_info_service.rb')
-rw-r--r-- | app/services/update_container_registry_info_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/update_container_registry_info_service.rb b/app/services/update_container_registry_info_service.rb index de90e7c71ad..b720f9b14a5 100644 --- a/app/services/update_container_registry_info_service.rb +++ b/app/services/update_container_registry_info_service.rb @@ -11,7 +11,7 @@ class UpdateContainerRegistryInfoService # associated user when running this (e.g. from a rake task or a cron job), # so we need to generate a valid JWT token with no access permissions to # authenticate as a trusted client. - token = Auth::ContainerRegistryAuthenticationService.access_token([], []) + token = Auth::ContainerRegistryAuthenticationService.access_token({}) client = ContainerRegistry::Client.new(registry_config.api_url, token: token) info = client.registry_info |