mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-02 05:06:14 +09:00
M #-: Fix linting error in 2.0.0
(cherry picked from commit 31e38f6d4b)
This commit is contained in:
1 file changed
+1
-1
@@ -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 << ' ' }
|
||||
|
||||
Reference in new issue
Block a user