mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
Feature #3932: Fix a bug in service scale down
This commit is contained in:
parent
366b47823b
commit
9ab9826525
@ -551,7 +551,7 @@ module OpenNebula
|
||||
if diff > 0
|
||||
return deploy(true)
|
||||
elsif diff < 0
|
||||
return terminate(true)
|
||||
return shutdown(true)
|
||||
end
|
||||
|
||||
return [true, nil]
|
||||
@ -914,7 +914,7 @@ module OpenNebula
|
||||
end
|
||||
|
||||
|
||||
# Shuts down all the given roles
|
||||
# Shuts down all the given nodes
|
||||
# @param scale_down [true,false] True to set the 'disposed' node flag
|
||||
def shutdown_nodes(nodes, scale_down)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user