diff options
author | Alessio Caiazza <acaiazza@gitlab.com> | 2017-11-06 15:43:02 +0100 |
---|---|---|
committer | Alessio Caiazza <acaiazza@gitlab.com> | 2017-11-06 15:43:02 +0100 |
commit | 61501a07cb9c1fff5a30662b3e3815976f2777cb (patch) | |
tree | bdc3162b2b0e37bb8b5ca9043e1b5df50de5a004 /app/models/clusters | |
parent | 317c3cdd33c59c0fd9f3993cf1fb0e34b601bbcc (diff) | |
download | gitlab-ce-61501a07cb9c1fff5a30662b3e3815976f2777cb.tar.gz |
Add Clusters::Applications services tests
Diffstat (limited to 'app/models/clusters')
-rw-r--r-- | app/models/clusters/concerns/application_status.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/clusters/concerns/application_status.rb b/app/models/clusters/concerns/application_status.rb index 7bb68d75224..c5711fd0b58 100644 --- a/app/models/clusters/concerns/application_status.rb +++ b/app/models/clusters/concerns/application_status.rb @@ -24,7 +24,7 @@ module Clusters end event :make_scheduled do - transition any - [:scheduled] => :scheduled + transition %i(installable errored) => :scheduled end before_transition any => [:scheduled] do |app_status, _| |