Fix identation for log_event_info blocks

parent 07ff051a
...@@ -150,11 +150,12 @@ module Gitlab ...@@ -150,11 +150,12 @@ module Gitlab
.new(event.project_id, event.deleted_project_name, full_path, event.repository_storage_name) .new(event.project_id, event.deleted_project_name, full_path, event.repository_storage_name)
.async_execute .async_execute
log_event_info(event_log.created_at, log_event_info(
message: 'Deleted project', event_log.created_at,
project_id: event.project_id, message: 'Deleted project',
full_path: full_path, project_id: event.project_id,
job_id: job_id) full_path: full_path,
job_id: job_id)
# No need to create a project entry if it doesn't exist # No need to create a project entry if it doesn't exist
::Geo::ProjectRegistry.where(project_id: event.project_id).delete_all ::Geo::ProjectRegistry.where(project_id: event.project_id).delete_all
...@@ -183,12 +184,13 @@ module Gitlab ...@@ -183,12 +184,13 @@ module Gitlab
.new(event.project_id, '', old_path, new_path) .new(event.project_id, '', old_path, new_path)
.async_execute .async_execute
log_event_info(event_log.created_at, log_event_info(
message: 'Renaming project', event_log.created_at,
project_id: event.project_id, message: 'Renaming project',
old_path: old_path, project_id: event.project_id,
new_path: new_path, old_path: old_path,
job_id: job_id) new_path: new_path,
job_id: job_id)
end end
def find_or_initialize_registry(project_id, attrs) def find_or_initialize_registry(project_id, attrs)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment