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
24ad3102
Commit
24ad3102
authored
Oct 04, 2017
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename `full_path` to `disk_path` on `handle_repository_deleted` method
parent
a549f414
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lib/gitlab/geo/log_cursor/daemon.rb
lib/gitlab/geo/log_cursor/daemon.rb
+3
-3
No files found.
lib/gitlab/geo/log_cursor/daemon.rb
View file @
24ad3102
...
...
@@ -144,17 +144,17 @@ module Gitlab
def
handle_repository_deleted
(
event_log
)
event
=
event_log
.
repository_deleted_event
full
_path
=
File
.
join
(
event
.
repository_storage_path
,
event
.
deleted_path
)
disk
_path
=
File
.
join
(
event
.
repository_storage_path
,
event
.
deleted_path
)
job_id
=
::
Geo
::
RepositoryDestroyService
.
new
(
event
.
project_id
,
event
.
deleted_project_name
,
full
_path
,
event
.
repository_storage_name
)
.
new
(
event
.
project_id
,
event
.
deleted_project_name
,
disk
_path
,
event
.
repository_storage_name
)
.
async_execute
log_event_info
(
event_log
.
created_at
,
message:
'Deleted project'
,
project_id:
event
.
project_id
,
full_path:
full
_path
,
disk_path:
disk
_path
,
job_id:
job_id
)
# No need to create a project entry if it doesn't exist
...
...
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