summaryrefslogtreecommitdiff
path: root/app/models/clusters
diff options
context:
space:
mode:
authorAlessio Caiazza <acaiazza@gitlab.com>2017-11-06 15:43:02 +0100
committerAlessio Caiazza <acaiazza@gitlab.com>2017-11-06 15:43:02 +0100
commit61501a07cb9c1fff5a30662b3e3815976f2777cb (patch)
treebdc3162b2b0e37bb8b5ca9043e1b5df50de5a004 /app/models/clusters
parent317c3cdd33c59c0fd9f3993cf1fb0e34b601bbcc (diff)
downloadgitlab-ce-61501a07cb9c1fff5a30662b3e3815976f2777cb.tar.gz
Add Clusters::Applications services tests
Diffstat (limited to 'app/models/clusters')
-rw-r--r--app/models/clusters/concerns/application_status.rb2
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, _|