1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-19 06:50:07 +03:00

Fix bug in add_provider 'all' argument

This commit is contained in:
Carlos Martín 2014-03-04 19:16:54 +01:00
parent 2e8dc65fd6
commit da8abafe72

View File

@ -604,7 +604,7 @@ EOT
end
def self.name_to_id(name, pool, ename)
if ename=="CLUSTER" and name=="ALL"
if ename=="CLUSTER" and name.upcase=="ALL"
return 0, "ALL"
end