Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit 92416f14 authored by Jérémie Gaidamour's avatar Jérémie Gaidamour

[dev] new api generators: added missing mkdir

parent e6e3a54f
......@@ -121,6 +121,7 @@ global_hash["sites"].each do |site_uid, site|
cluster["created_at"] = Time.parse(cluster["created_at"].to_s).httpdate
cluster_path = Pathname.new(refapi_path).join("sites", site_uid, "clusters", cluster_uid)
cluster_path.mkpath()
# Write cluster info w/o nodes entries
write_json(cluster_path.join("#{cluster_uid}.json"),
......
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