Commit 0562b02b authored by Alessio Caiazza's avatar Alessio Caiazza

Do not use %i() in state machines

parent 3f261a49
......@@ -13,15 +13,15 @@ module Clusters
state :installed, value: 3
event :make_scheduled do
transition %i(installable errored) => :scheduled
transition [:installable, :errored] => :scheduled
end
event :make_installing do
transition %i(scheduled) => :installing
transition [:scheduled] => :installing
end
event :make_installed do
transition %i(installing) => :installed
transition [:installing] => :installed
end
event :make_errored do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment