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
558477d2
Commit
558477d2
authored
Nov 18, 2016
by
Gabriel Mazetto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small codestyle changes for Geo backfill feature
parent
e84bb5fb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
app/controllers/admin/geo_nodes_controller.rb
app/controllers/admin/geo_nodes_controller.rb
+1
-1
app/workers/geo_repository_backfill_worker.rb
app/workers/geo_repository_backfill_worker.rb
+0
-2
No files found.
app/controllers/admin/geo_nodes_controller.rb
View file @
558477d2
class
Admin::GeoNodesController
<
Admin
::
ApplicationController
before_action
:check_license
before_action
:load_node
,
except:
[
:index
,
:create
]
before_action
:load_node
,
only:
[
:destroy
,
:repair
,
:backfill_repositories
]
def
index
@nodes
=
GeoNode
.
all
...
...
app/workers/geo_repository_backfill_worker.rb
View file @
558477d2
...
...
@@ -7,8 +7,6 @@ class GeoRepositoryBackfillWorker
project
=
Project
.
find
(
project_id
)
geo_node
=
GeoNode
.
find
(
geo_node_id
)
return
unless
project
&&
geo_node
Geo
::
RepositoryBackfillService
.
new
(
project
,
geo_node
).
execute
end
end
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