diff options
author | Vratislav Kalenda <v.kalenda@gmail.com> | 2017-10-08 21:01:45 +0200 |
---|---|---|
committer | Vratislav Kalenda <v.kalenda@gmail.com> | 2017-10-08 21:01:45 +0200 |
commit | cd3fa2a709874c170eabc739f1b9a0f1f495685f (patch) | |
tree | 8f2300c487edfa5cd970839c8e3bf2fdd8f312ab | |
parent | 74d37438d5361fd4e77993dbc9590b20f7c32100 (diff) | |
download | gitlab-ce-cd3fa2a709874c170eabc739f1b9a0f1f495685f.tar.gz |
remove whitespace
-rw-r--r-- | app/services/auth/container_registry_authentication_service.rb | 1 | ||||
-rw-r--r-- | spec/services/auth/container_registry_authentication_service_spec.rb | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/app/services/auth/container_registry_authentication_service.rb b/app/services/auth/container_registry_authentication_service.rb index 0de7009e339..2410443ebb6 100644 --- a/app/services/auth/container_registry_authentication_service.rb +++ b/app/services/auth/container_registry_authentication_service.rb @@ -62,7 +62,6 @@ module Auth return { type: type, name: name, actions: ['*'] } end - return unless type == 'repository' process_repository_access(type, path, actions) diff --git a/spec/services/auth/container_registry_authentication_service_spec.rb b/spec/services/auth/container_registry_authentication_service_spec.rb index 6145f72df43..b154779e1c7 100644 --- a/spec/services/auth/container_registry_authentication_service_spec.rb +++ b/spec/services/auth/container_registry_authentication_service_spec.rb @@ -140,9 +140,7 @@ describe Auth::ContainerRegistryAuthenticationService do it_behaves_like 'not a container repository factory' end end - - - + context 'for private project' do let(:project) { create(:project) } |