Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 29589073 authored by BERARD Benjamin's avatar BERARD Benjamin
Browse files

Revert "[refrepo] Fix deprecated Kernel#Open"

This reverts commit 44cf3691.
parent 111d1542
No related branches found
No related tags found
1 merge request!320Revert "[refrepo] Add information about 401 error"
Pipeline #357890 passed
...@@ -15,7 +15,7 @@ module RefRepo::Utils ...@@ -15,7 +15,7 @@ module RefRepo::Utils
o = {} o = {}
puts "Check the documentation https://www.grid5000.fr/w/TechTeam:Reference_Repository#Credentials and your ~/.grid5000_api.yml file" puts "Check the documentation https://www.grid5000.fr/w/TechTeam:Reference_Repository#Credentials and your ~/.grid5000_api.yml file"
end end
d = URI.open("#{conf['uri']}/#{conf['version']}/#{path}", o).read d = open("#{conf['uri']}/#{conf['version']}/#{path}", o).read
return JSON::parse(d) return JSON::parse(d)
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment