Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 8e7b0ca9 authored by IMBERT Matthieu's avatar IMBERT Matthieu
Browse files

[kavlanng] remove annoying debug output

parent 9b34d142
No related branches found
No related tags found
No related merge requests found
Pipeline #859220 passed with warnings
...@@ -56,7 +56,7 @@ def gen_kavlanapi_g5k_desc(output_path) ...@@ -56,7 +56,7 @@ def gen_kavlanapi_g5k_desc(output_path)
refapi['sites'].each { |site_id, site_h| refapi['sites'].each { |site_id, site_h|
site_h['clusters'] = site_h.fetch('clusters', {}).sort_by { |cluster_id, _cluster_h| cluster_id }.to_h site_h['clusters'] = site_h.fetch('clusters', {}).sort_by { |cluster_id, _cluster_h| cluster_id }.to_h
site_h['clusters'].each { |_cluster_id, cluster_h| site_h['clusters'].each { |_cluster_id, cluster_h|
cluster_h['nodes'] = cluster_h['nodes'].sort_by { |node_id, _node_h| p node_id ; p node_id[/[^-]+-(\d+)/, 1].to_i }.to_h cluster_h['nodes'] = cluster_h['nodes'].sort_by { |node_id, _node_h| node_id[/[^-]+-(\d+)/, 1].to_i }.to_h
} }
refapi['sites'][site_id] = site_h.sort_by { |key| key}.to_h refapi['sites'][site_id] = site_h.sort_by { |key| key}.to_h
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment