lib/convection/model/event.rb in convection-0.2.32 vs lib/convection/model/event.rb in convection-0.2.33
- old
+ new
@@ -12,14 +12,15 @@
attr_accessor :name
attr_accessor :message
attr_accessor :level
attr_accessor :timestamp
colorize :level,
- :green => [:info, :success, Control::Stack::CREATE_COMPLETE, Control::Stack::UPDATE_COMPLETE, Control::Stack::UPDATE_ROLLBACK_COMPLETE],
+ :green => [:info, :success, Control::Stack::CREATE_COMPLETE, Control::Stack::UPDATE_COMPLETE, Control::Stack::UPDATE_ROLLBACK_COMPLETE,
+ Control::Stack::TASK_COMPLETE],
:red => [:error, :fail, Control::Stack::CREATE_FAILED, Control::Stack::ROLLBACK_FAILED,
Control::Stack::DELETE_FAILED, Control::Stack::UPDATE_FAILED,
Control::Stack::UPDATE_ROLLBACK_IN_PROGRESS, Control::Stack::UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS,
- Control::Stack::UPDATE_ROLLBACK_FAILED],
+ Control::Stack::UPDATE_ROLLBACK_FAILED, Control::Stack::TASK_FAILED],
:default => :yellow
class << self
def from_cf(event)
Event.new(event.resource_status.downcase,