Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 4e16e061 authored by Lucas Nussbaum's avatar Lucas Nussbaum
Browse files

[dev/kwollectg5k] sort nodes in configuration

parent 656c948f
No related branches found
No related tags found
No related merge requests found
Pipeline #136921 passed
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
# #
<%- <%-
wattmetre_port_per_node.each {|node, ports| # Sort by cluster and node number
wattmetre_port_per_node.to_a.sort_by { |e| n = e[0].split('-') ; n[1] = n[1].to_i ; n }.each { |e| node, ports = e
-%> -%>
<%= node %>: [<%= ports.join(',') %>] <%= node %>: [<%= ports.join(',') %>]
<%- <%-
......
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