1
0
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:
Ruben S. Montero 2021-06-01 12:52:22 +02:00
parent 25841b817b
commit bfd4aa548a
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -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 << ' ' }