Commit 6c51dbf4 authored by Nick Thomas's avatar Nick Thomas

Merge branch 'improve-logging' into 'master'

[Geo] Add logging when create a temporary repository

See merge request gitlab-org/gitlab-ee!4594
parents 3049c3bb 2b5c86b5
......@@ -165,6 +165,11 @@ module Geo
raise Gitlab::Shell::Error, 'Can not create a temporary repository'
end
log_info(
'Created temporary repository',
temp_path: disk_path_temp
)
repository.clone.tap { |repo| repo.disk_path = disk_path_temp }
end
......
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