lib/ufo/destroy.rb in ufo-1.2.0 vs lib/ufo/destroy.rb in ufo-1.5.0
- old
+ new
@@ -48,10 +48,10 @@
)
puts "#{@service} service has been scaled down to 0 and destroyed." unless @options[:mute]
end
def are_you_sure?
- return true if @options[:force]
+ return true if @options[:sure]
puts "You are about to destroy #{@service} service on #{@cluster} cluster."
print "Are you sure you want to do this? (y/n) "
answer = $stdin.gets.strip
answer =~ /^y/
end