diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-14 12:14:02 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-14 12:14:02 +0000 |
commit | 2896c7471aa75a7842fe6318a122f83ca6c211bb (patch) | |
tree | 5da5605d7632d654cf70a3bbfbf32dc12178fa04 /lib/api/ci/runner.rb | |
parent | 41482e5dce6765dc2ec019da1c652061fc8d8f83 (diff) | |
download | gitlab-ce-2896c7471aa75a7842fe6318a122f83ca6c211bb.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/api/ci/runner.rb')
-rw-r--r-- | lib/api/ci/runner.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/ci/runner.rb b/lib/api/ci/runner.rb index 9dcb10dd5e2..4df9600322c 100644 --- a/lib/api/ci/runner.rb +++ b/lib/api/ci/runner.rb @@ -57,7 +57,7 @@ module API delete '/', feature_category: :runner do authenticate_runner! - destroy_conditionally!(current_runner) + destroy_conditionally!(current_runner) { ::Ci::UnregisterRunnerService.new(current_runner).execute } end desc 'Validates authentication credentials' do |