lib/cicd/builder/mixlib/repo.rb in cicd-builder-0.9.17 vs lib/cicd/builder/mixlib/repo.rb in cicd-builder-0.9.18
- old
+ new
@@ -280,10 +280,10 @@
json_s = JSON.pretty_generate( json, { indent: "\t", space: ' '})
end
begin
resp = s3_obj.write(:data => json_s)
- @logger.info "Inventory URL: #{s3_obj.public_url}"
+ @logger.info "Inventory URL: #{s3_obj.url_for(:read)}"
case resp.class.name
when %r'^AWS::S3::(S3Object|ObjectVersion)'
return 0
else
\ No newline at end of file