lib/ufo/apps/cfn_map.rb in ufo-4.4.3 vs lib/ufo/apps/cfn_map.rb in ufo-4.5.0
- old
+ new
@@ -3,10 +3,10 @@
extend Memoist
include Ufo::Stack::Helper
def initialize(options = {})
@options = options
- @cluster = @options[:cluster] || default_cluster
+ @cluster = @options[:cluster] || default_cluster(options[:service])
@map = {}
end
# Example:
# {"development-demo-web-Ecs-1L3WUTJFFM5JV"=>"demo-web"}