mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
For live migrate we need the allow-two-primaries option, but we don't know exactly if we are called for a migration operation. Now also check if at least any of the resources is in use somewhere and only then set the option.