lib/cicd/builder/mixlib/repo.rb in cicd-builder-0.9.16 vs lib/cicd/builder/mixlib/repo.rb in cicd-builder-0.9.17

- old
+ new

@@ -279,10 +279,13 @@ json['gen'] = @options[:gen] json_s = JSON.pretty_generate( json, { indent: "\t", space: ' '}) end begin resp = s3_obj.write(:data => json_s) - case resp.class.name + + @logger.info "Inventory URL: #{s3_obj.public_url}" + + case resp.class.name when %r'^AWS::S3::(S3Object|ObjectVersion)' return 0 else return 1 end \ No newline at end of file