summaryrefslogtreecommitdiff
path: root/app/workers/gitlab/github_import/stage/finish_import_worker.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-03-05 15:41:54 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-03-05 15:41:54 +0200
commit86df5c679318ded0a7b2680346841b552eaabd53 (patch)
tree546dfd683fe7eed1e17cc128185cc4c5c6435376 /app/workers/gitlab/github_import/stage/finish_import_worker.rb
parent8a0052c037f025b64159ca8cfe0d3451261c1edb (diff)
downloadgitlab-ce-86df5c679318ded0a7b2680346841b552eaabd53.tar.gz
Replace deprecated path_with_namespace with full_path
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/workers/gitlab/github_import/stage/finish_import_worker.rb')
-rw-r--r--app/workers/gitlab/github_import/stage/finish_import_worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/gitlab/github_import/stage/finish_import_worker.rb b/app/workers/gitlab/github_import/stage/finish_import_worker.rb
index 073d6608082..a779e631516 100644
--- a/app/workers/gitlab/github_import/stage/finish_import_worker.rb
+++ b/app/workers/gitlab/github_import/stage/finish_import_worker.rb
@@ -16,7 +16,7 @@ module Gitlab
def report_import_time(project)
duration = Time.zone.now - project.created_at
- path = project.path_with_namespace
+ path = project.full_path
histogram.observe({ project: path }, duration)
counter.increment