From faee54c6fd05be0d029881d47164e954cc8e2a8b Mon Sep 17 00:00:00 2001 From: Kohei Suzuki Date: Wed, 23 May 2018 13:50:06 +0900 Subject: [PATCH] Color detach message with red --- lib/miam/driver.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/miam/driver.rb b/lib/miam/driver.rb index 5c0c73d..1e18043 100644 --- a/lib/miam/driver.rb +++ b/lib/miam/driver.rb @@ -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|