mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
M #-: Fix linting error in 2.0.0
(cherry picked from commit 31e38f6d4bfcd97b59ad74872a270ab3317080c9)
This commit is contained in:
parent
25841b817b
commit
bfd4aa548a
@ -134,7 +134,7 @@ module NUMA
|
||||
distance_h = {}
|
||||
distance_a.each_with_index {|d, i| distance_h[d.to_i] = i }
|
||||
|
||||
distance_h = distance_h.sort.to_h
|
||||
distance_h = Hash[distance_h.sort]
|
||||
|
||||
closer = ''
|
||||
distance_h.each {|_, v| closer << v.to_s << ' ' }
|
||||
|
Loading…
x
Reference in New Issue
Block a user