Commit 72f89495 authored by Sebastien Badia's avatar Sebastien Badia
Browse files

[admin] Rakefile, override base_uri setting, (in case of /stable use), comment only on /sid)

parent ffd86cb4
......@@ -18,7 +18,7 @@ end
task :api_sites do
api_logger = Logger.new("/dev/null")
api_logger.level = Logger::FATAL
@api = Restfully::Session.new(:configuration_file => File.expand_path("~/.restfully/api.grid5000.fr.yml"),:logger => api_logger)
@api = Restfully::Session.new(:configuration_file => File.expand_path("~/.restfully/api.grid5000.fr.yml"),:logger => api_logger,:base_uri => 'https://api.grid5000.fr/sid')
@api_sites = if ENV['SITE']
[@api.root.sites[ENV['SITE'].to_sym]]
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment