From 6e6f56492370734a23fe2a414944966fc588ceb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Cunha?= Date: Mon, 8 Jul 2019 11:05:03 +0000 Subject: Apply suggestion to app/models/clusters/applications/runner.rb --- app/models/clusters/applications/runner.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/models/clusters/applications/runner.rb b/app/models/clusters/applications/runner.rb index 9314d795950..9074a2638ec 100644 --- a/app/models/clusters/applications/runner.rb +++ b/app/models/clusters/applications/runner.rb @@ -41,8 +41,9 @@ module Clusters end def prepare_uninstall - runner.builds.cancelable.each(&:cancel) - runner.update(active: false) + runner.builds.cancelable.each(&:cancel!) + + runner.update!(active: false) end def post_uninstall -- cgit v1.2.1