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
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/git')
-rw-r--r--app/services/git/branch_push_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/git/branch_push_service.rb b/app/services/git/branch_push_service.rb
index 5dcc2de456c..5bf39d98fa3 100644
--- a/app/services/git/branch_push_service.rb
+++ b/app/services/git/branch_push_service.rb
@@ -58,7 +58,7 @@ module Git
def stop_environments
return unless removing_branch?
- Ci::StopEnvironmentsService.new(project, current_user).execute(branch_name)
+ Environments::StopService.new(project, current_user).execute_for_branch(branch_name)
end
def unlock_artifacts