You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed in foreman-tasks that we're doing comparisons against hard-coded strings. Seems like it would be better to define states as constants (e.g. Dynflow::ExecutionPlan::STATE_STOPPED) so they can be programmatically accessed outside of dynflow.
The text was updated successfully, but these errors were encountered:
daviddavis
changed the title
Use constants for task states
Use constants for states
May 16, 2016
I noticed in foreman-tasks that we're doing comparisons against hard-coded strings. Seems like it would be better to define states as constants (e.g.
Dynflow::ExecutionPlan::STATE_STOPPED
) so they can be programmatically accessed outside of dynflow.The text was updated successfully, but these errors were encountered: