Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2019-04-12 18:46:00 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2019-04-12 18:46:00 +0300
commitb9b2897bb507ac3a140e2c19f3d79094c3f5156b (patch)
treefe1fe968adc26f98928cff5bf51d7c8833ae6bba /app
parent9edb5d47808fe9618aed0f411c6b5aebbaadd42a (diff)
Always return the deployment in the execute method
Diffstat (limited to 'app')
-rw-r--r--app/services/update_deployment_service.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/update_deployment_service.rb b/app/services/update_deployment_service.rb
index aa7fcca1e2a..49a7d0178f4 100644
--- a/app/services/update_deployment_service.rb
+++ b/app/services/update_deployment_service.rb
@@ -27,6 +27,8 @@ class UpdateDeploymentService
deployment.tap(&:update_merge_request_metrics!)
end
+
+ deployment
end
private