Mentions légales du service

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

Merge branch 'deprecated_open' into 'master'

Revert "[refrepo] Add information about 401 error"

See merge request !320
parents 111d1542 29589073
No related branches found
No related tags found
1 merge request!320Revert "[refrepo] Add information about 401 error"
Pipeline #357896 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