Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThong Kuah <tkuah@gitlab.com>2019-02-07 05:00:01 +0300
committerThong Kuah <tkuah@gitlab.com>2019-02-08 01:56:35 +0300
commit650d4f37fb4e2a193cd0ca3d31c2404df016f1d1 (patch)
tree0d444381c3ac0ad53e7a1f510c96cc06009d69fa /app/models/clusters/concerns
parent045dcdc2f61372f95d9fd71072f5d31b88e1a12b (diff)
Remove #make_updated! as have #make_installed! now
We can have multiple and conditional transistions in a event, so make use of that.
Diffstat (limited to 'app/models/clusters/concerns')
-rw-r--r--app/models/clusters/concerns/application_status.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/models/clusters/concerns/application_status.rb b/app/models/clusters/concerns/application_status.rb
index 6fe7b4a6bd7..5c0164831bc 100644
--- a/app/models/clusters/concerns/application_status.rb
+++ b/app/models/clusters/concerns/application_status.rb
@@ -41,11 +41,6 @@ module Clusters
transition [:installed, :updated, :update_errored, :scheduled] => :updating
end
- # Deprecated
- event :make_updated do
- transition [:updating] => :updated
- end
-
event :make_update_errored do
transition any => :update_errored
end