diff options
author | Ahmad Hassan <ahmad.hassan612@gmail.com> | 2018-05-24 14:16:31 +0200 |
---|---|---|
committer | Ahmad Hassan <ahmad.hassan612@gmail.com> | 2018-05-24 14:16:31 +0200 |
commit | 84e6ddb41f581064c9bb66c34341ec7248f1b333 (patch) | |
tree | 6457b5cf83032b6f8bd7a3d6f9875634a955e99a /lib | |
parent | 9c4f967785d05b45ce33ece043c6bacb9d798ca1 (diff) | |
download | gitlab-ce-84e6ddb41f581064c9bb66c34341ec7248f1b333.tar.gz |
Remove unneeded gitaly_migrate functionmigrate-restore-repo-to-gitaly
Diffstat (limited to 'lib')
-rw-r--r-- | lib/backup/repository.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/backup/repository.rb b/lib/backup/repository.rb index 847d14d01c3..aa3c3a35764 100644 --- a/lib/backup/repository.rb +++ b/lib/backup/repository.rb @@ -222,13 +222,5 @@ module Backup def display_repo_path(project) project.hashed_storage?(:repository) ? "#{project.full_path} (#{project.disk_path})" : project.full_path end - - def gitaly_migrate(method, status: Gitlab::GitalyClient::MigrationStatus::OPT_IN, &block) - Gitlab::GitalyClient.migrate(method, status: status, &block) - rescue GRPC::NotFound, GRPC::BadStatus => e - # Old Popen code returns [Error, output] to the caller, so we - # need to do the same here... - raise Error, e - end end end |