mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
M #-: fix minor bug in onecluster helper (#1211)
(cherry picked from commit a94abe5eac92d3a5e8e2dfd180baf1f365583461)
This commit is contained in:
parent
29a31d5ab9
commit
5c3aeafd6b
@ -113,7 +113,7 @@ class OneClusterHelper < OpenNebulaHelper::OneHelper
|
||||
total_ram = 0
|
||||
used_ram = 0
|
||||
|
||||
hosts.each do |h|
|
||||
[hosts].flatten.each do |h|
|
||||
h = OpenNebula::Host.new_with_id(h, @client)
|
||||
|
||||
h.info!
|
||||
|
Loading…
x
Reference in New Issue
Block a user