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
251821ba
Commit
251821ba
authored
Oct 04, 2017
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix identation for log_event_info blocks
parent
07ff051a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
lib/gitlab/geo/log_cursor/daemon.rb
lib/gitlab/geo/log_cursor/daemon.rb
+13
-11
No files found.
lib/gitlab/geo/log_cursor/daemon.rb
View file @
251821ba
...
...
@@ -150,11 +150,12 @@ module Gitlab
.
new
(
event
.
project_id
,
event
.
deleted_project_name
,
full_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
,
job_id:
job_id
)
log_event_info
(
event_log
.
created_at
,
message:
'Deleted project'
,
project_id:
event
.
project_id
,
full_path:
full_path
,
job_id:
job_id
)
# No need to create a project entry if it doesn't exist
::
Geo
::
ProjectRegistry
.
where
(
project_id:
event
.
project_id
).
delete_all
...
...
@@ -183,12 +184,13 @@ module Gitlab
.
new
(
event
.
project_id
,
''
,
old_path
,
new_path
)
.
async_execute
log_event_info
(
event_log
.
created_at
,
message:
'Renaming project'
,
project_id:
event
.
project_id
,
old_path:
old_path
,
new_path:
new_path
,
job_id:
job_id
)
log_event_info
(
event_log
.
created_at
,
message:
'Renaming project'
,
project_id:
event
.
project_id
,
old_path:
old_path
,
new_path:
new_path
,
job_id:
job_id
)
end
def
find_or_initialize_registry
(
project_id
,
attrs
)
...
...
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