Skip to content

Commit

Permalink
Merge pull request #38 from eagletmt/red-detach
Browse files Browse the repository at this point in the history
Color detach message with red
  • Loading branch information
winebarrel authored Feb 19, 2019
2 parents 5de8f7a + faee54c commit a6921b9
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 a6921b9

Please sign in to comment.