Skip to content

Commit

Permalink
Add :unknown state option for use when detection fails (related to m…
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisroberts committed Feb 3, 2015
1 parent acebf19 commit b8eac2a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/miasma/models/orchestration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ class Orchestration < Types::Api
# )

# @return [Array<Symbol>] valid resource states
VALID_RESOURCE_STATES = [:create_complete, :create_in_progress, :create_failed,
VALID_RESOURCE_STATES = [
:create_complete, :create_in_progress, :create_failed,
:delete_complete, :delete_in_progress, :delete_failed,
:rollback_complete, :rollback_in_progress, :rollback_failed,
:update_complete, :update_in_progress, :update_failed,
:update_rollback_complete, :update_rollback_in_progress, :update_rollback_failed
:update_rollback_complete, :update_rollback_in_progress,
:update_rollback_failed, :unknown
]

# Orchestration stacks
Expand Down

0 comments on commit b8eac2a

Please sign in to comment.