Mentions légales du service

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

[dev] wiki/hardware change sorting to sort interface type first

parent dc2716ac
No related branches found
No related tags found
No related merge requests found
Pipeline #75348 passed
...@@ -117,7 +117,7 @@ class G5KHardwareGenerator < WikiGenerator ...@@ -117,7 +117,7 @@ class G5KHardwareGenerator < WikiGenerator
[ [
{ {
text: v['interface'] + ' ' + G5K.get_rate(v['rate']), text: v['interface'] + ' ' + G5K.get_rate(v['rate']),
sort: ((v['rate'])/10**6).to_s.rjust(6, '0') + ' Gbps, ' + v['interface'] sort: v['interface'] + ' ' + ((v['rate'])/10**6).to_s.rjust(6, '0') + ' Gbps'
} }
] ]
} }
......
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