diff options
author | Stan Hu <stanhu@gmail.com> | 2015-11-10 00:27:01 -0800 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-11-10 10:52:45 -0800 |
commit | 5aa142212fc4fb7765aad801c1a25696fb752fba (patch) | |
tree | aa8a52e125816626e4911d0d3835b53f5709d54b /app | |
parent | f162ed7aeb3958938aaf213837ec0c4c4e90b014 (diff) | |
download | gitlab-ce-5aa142212fc4fb7765aad801c1a25696fb752fba.tar.gz |
Fix Drone CI service template not saving properly
Closes #3419
Diffstat (limited to 'app')
-rw-r--r-- | app/models/project_services/drone_ci_service.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/project_services/drone_ci_service.rb b/app/models/project_services/drone_ci_service.rb index c73c4b058a1..c240213200d 100644 --- a/app/models/project_services/drone_ci_service.rb +++ b/app/models/project_services/drone_ci_service.rb @@ -32,7 +32,6 @@ class DroneCiService < CiService def compose_service_hook hook = service_hook || build_service_hook - hook.url = [drone_url, "/api/hook", "?owner=#{project.namespace.path}", "&name=#{project.path}", "&access_token=#{token}"].join hook.enable_ssl_verification = enable_ssl_verification hook.save end |