diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2017-08-22 15:18:09 +0300 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2017-08-23 11:45:20 +0300 |
commit | dc7c6bede27abd4507072276ef23b40a74ee297a (patch) | |
tree | 3337af56f28df2cbd0f33a369b0a42fa3cec2c95 /app/services/tags/create_service.rb | |
parent | 65f83941c39c14c2af9da5064393545ea2f7b3e5 (diff) |
Move GitHooksService to Gitlab::Git
Diffstat (limited to 'app/services/tags/create_service.rb')
-rw-r--r-- | app/services/tags/create_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/tags/create_service.rb b/app/services/tags/create_service.rb index 674792f6138..b3f4a72d6fe 100644 --- a/app/services/tags/create_service.rb +++ b/app/services/tags/create_service.rb @@ -13,7 +13,7 @@ module Tags new_tag = repository.add_tag(current_user, tag_name, target, message) rescue Rugged::TagError return error("Tag #{tag_name} already exists") - rescue GitHooksService::PreReceiveError => ex + rescue Gitlab::Git::HooksService::PreReceiveError => ex return error(ex.message) end |