Mentions légales du service

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

Revert "[refrepo] Add information about 401 error"

This reverts commit f79352ca.
parent 111d1542
No related branches found
No related tags found
No related merge requests found
Pipeline #357848 passed
......@@ -13,7 +13,6 @@ module RefRepo::Utils
o = { :http_basic_authentication => [conf['username'], conf['password']] }
else
o = {}
puts "Check the documentation https://www.grid5000.fr/w/TechTeam:Reference_Repository#Credentials and your ~/.grid5000_api.yml file"
end
d = URI.open("#{conf['uri']}/#{conf['version']}/#{path}", o).read
return JSON::parse(d)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment