diff options
author | João Cunha <j.a.cunha@gmail.com> | 2019-07-04 09:40:45 +0000 |
---|---|---|
committer | João Cunha <j.a.cunha@gmail.com> | 2019-07-04 09:40:45 +0000 |
commit | 589dcf9e4cc9768f557903321ca3632abd0c5d90 (patch) | |
tree | 2d8ce514bb83564d1523cfe17c1c6f2c60e226a3 | |
parent | 7314097ba8b5d8326fda1c0efcd7db7689fa34cc (diff) | |
download | gitlab-ce-589dcf9e4cc9768f557903321ca3632abd0c5d90.tar.gz |
Apply suggestion to app/models/clusters/applications/runner.rb
-rw-r--r-- | app/models/clusters/applications/runner.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/clusters/applications/runner.rb b/app/models/clusters/applications/runner.rb index 4bdd4867885..4bced718632 100644 --- a/app/models/clusters/applications/runner.rb +++ b/app/models/clusters/applications/runner.rb @@ -41,7 +41,7 @@ module Clusters end def prepare_uninstall - runner.builds.each(&:cancel) + runner.builds.cancelable.each(&:cancel) end private |