lib/bbc/cosmos/config/aws.rb in bbc-cosmos-config-0.0.5 vs lib/bbc/cosmos/config/aws.rb in bbc-cosmos-config-0.0.6

- old
+ new

@@ -24,14 +24,14 @@ end private def s3_config_location - tags['Renderer'] + tags.to_h['Renderer'] end def s3_config(bucket, path, version) - JSON.parse(@s3.buckets[bucket].objects["#{path}/config/#{version}/#{s3_config_location}.json"], :symbolize_names => true) + JSON.parse(@s3.buckets[bucket].objects["#{path}/config/#{version}/#{s3_config_location}.json"].read, :symbolize_names => true) end def instance BBC::Cosmos.production? ? aws_instance : dummy_instance end