M #-: fix minor bug in onecluster helper (#1211)

This commit is contained in:
Alejandro Huertas Herrero authored and GitHub committed 2021-05-12 18:14:18 +02:00
1 parent 19495e364c
commit a94abe5eac
1 file changed
+1 -1
+1 -1
View File
@@ -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!