diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-02-07 13:30:33 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-02-07 13:30:33 +0100 |
commit | bc66944248bf62816f830b5769449c2c3a9dbd04 (patch) | |
tree | 10c3b22141af43ae2039552f9c2b2a086312d210 /app/models | |
parent | 1664354c65c103bd3ad55ebe32e84635bef22a6d (diff) | |
download | gitlab-ce-bc66944248bf62816f830b5769449c2c3a9dbd04.tar.gz |
Fix stoppable?
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/deployment.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/deployment.rb b/app/models/deployment.rb index 91d85c2279b..afad001d50f 100644 --- a/app/models/deployment.rb +++ b/app/models/deployment.rb @@ -91,7 +91,7 @@ class Deployment < ActiveRecord::Base @stop_action ||= manual_actions.find_by(name: on_stop) end - def stoppable? + def stop_action? stop_action.present? end |