Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 0570dce9 authored by POUILLOUX Laurent's avatar POUILLOUX Laurent
Browse files

[gen:wiki] fix incompatible call of hash element for 2.7

parent 3d525b29
Branches
No related tags found
1 merge request!603[gen:wiki] fix incompatible call of hash element for 2.7
Pipeline #884210 passed
......@@ -16,9 +16,9 @@ class WikiGenerator
tries = 3
begin
conf = RefRepo::Utils.get_api_config
@mw_client.log_in(conf[:username], conf[:botpassword])
@mw_client.log_in(conf["username"], conf["botpassword"])
rescue
if !conf.has_key?(:botpassword)
if !conf.has_key?("botpassword")
raise "botpassword is not defined, see https://www.grid5000.fr/w/TechTeam:Reference_Repository#Credentials"
end
tries -= 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment