diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-11-06 17:48:44 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-11-06 17:52:17 +0300 |
commit | f3a3566edc8fe24337b9df163f4699785061bb38 (patch) | |
tree | 9f4c8c5ab31a0e789f2fd796d73642ccad86383c /app/models/clusters/concerns/application_status.rb | |
parent | 001de85e7c6f86423aca0d245fdc83c57b374630 (diff) |
Add support for not_installable/scheduled and to not show created banner
Diffstat (limited to 'app/models/clusters/concerns/application_status.rb')
-rw-r--r-- | app/models/clusters/concerns/application_status.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/clusters/concerns/application_status.rb b/app/models/clusters/concerns/application_status.rb index 7bb68d75224..7592dd55689 100644 --- a/app/models/clusters/concerns/application_status.rb +++ b/app/models/clusters/concerns/application_status.rb @@ -5,6 +5,7 @@ module Clusters included do state_machine :status, initial: :installable do + state :not_installable, value: -2 state :errored, value: -1 state :installable, value: 0 state :scheduled, value: 1 |