Skip to content

Commit 1b9e19f

Browse files
authored
Merge pull request #63 from agrare/fix_kernel_open_warning
Fix Kernel#open warning downloading repo tarball
2 parents f7e7fd4 + ea43c67 commit 1b9e19f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/manageiq/cross_repo/repository.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def tarball_url
148148
end
149149

150150
def open_tarball_url(url)
151-
archive = open(tarball_url, "rb")
151+
archive = URI.open(tarball_url, "rb")
152152

153153
if archive.kind_of?(StringIO)
154154
archive = Tempfile.new('cross_repo').tap do |f|

0 commit comments

Comments
 (0)