Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
cd3fa2a7
Commit
cd3fa2a7
authored
Oct 08, 2017
by
Vratislav Kalenda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove whitespace
parent
74d37438
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
app/services/auth/container_registry_authentication_service.rb
...ervices/auth/container_registry_authentication_service.rb
+0
-1
spec/services/auth/container_registry_authentication_service_spec.rb
...es/auth/container_registry_authentication_service_spec.rb
+1
-3
No files found.
app/services/auth/container_registry_authentication_service.rb
View file @
cd3fa2a7
...
@@ -62,7 +62,6 @@ module Auth
...
@@ -62,7 +62,6 @@ module Auth
return
{
type:
type
,
name:
name
,
actions:
[
'*'
]
}
return
{
type:
type
,
name:
name
,
actions:
[
'*'
]
}
end
end
return
unless
type
==
'repository'
return
unless
type
==
'repository'
process_repository_access
(
type
,
path
,
actions
)
process_repository_access
(
type
,
path
,
actions
)
...
...
spec/services/auth/container_registry_authentication_service_spec.rb
View file @
cd3fa2a7
...
@@ -140,9 +140,7 @@ describe Auth::ContainerRegistryAuthenticationService do
...
@@ -140,9 +140,7 @@ describe Auth::ContainerRegistryAuthenticationService do
it_behaves_like
'not a container repository factory'
it_behaves_like
'not a container repository factory'
end
end
end
end
context
'for private project'
do
context
'for private project'
do
let
(
:project
)
{
create
(
:project
)
}
let
(
:project
)
{
create
(
:project
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment