Skip to content

Commit

Permalink
Color detach message with red
Browse files Browse the repository at this point in the history
  • Loading branch information
eagletmt committed May 23, 2018
1 parent 726b890 commit faee54c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/miam/driver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def detach_policies(type, name, policies)
type_s = type.slice(0, 1).upcase + type.slice(1..-1)

log(:info, "Update #{type_s} `#{name}`", :color => :green)
log(:info, " detach policies=#{policies.join(',')}", :color => :green)
log(:info, " detach policies=#{policies.join(',')}", :color => :red)

unless_dry_run do
policies.each do |arn|
Expand Down

0 comments on commit faee54c

Please sign in to comment.