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 ...@@ -13,15 +13,15 @@ module Clusters
state :installed, value: 3 state :installed, value: 3
event :make_scheduled do event :make_scheduled do
transition %i(installable errored) => :scheduled transition [:installable, :errored] => :scheduled
end end
event :make_installing do event :make_installing do
transition %i(scheduled) => :installing transition [:scheduled] => :installing
end end
event :make_installed do event :make_installed do
transition %i(installing) => :installed transition [:installing] => :installed
end end
event :make_errored do 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