Mentions légales du service

Skip to content
Snippets Groups Projects
Commit c77a29e5 authored by LOUP David's avatar LOUP David
Browse files

[gen,bindg5k] Fix reverse records order (bug 11029)

parent 10697513
Branches
No related tags found
No related merge requests found
Pipeline #101815 passed
......@@ -585,8 +585,8 @@ def generate_puppet_bindg5k(options)
a.label.gsub('.','').reverse <=> b.label.gsub('.','').reverse
}
else
records.sort!{ |a, b|
a.label.to_i <=> b.label.to_i
records.sort_by!{ |r|
[r.label.to_i, r.name]
}
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment