mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Update VirtualMachine.cc
This commit is contained in:
parent
39cc5ea2fa
commit
873f9693b8
@ -3474,9 +3474,10 @@ int VirtualMachine::parse_sched_action(string& error_str)
|
||||
int VirtualMachine::check_tm_mad_disks(const string& tm_mad)
|
||||
{
|
||||
string tm_mad_sys;
|
||||
|
||||
obj_template->get("TM_MAD_SYSTEM", tm_mad_sys);
|
||||
|
||||
if ( tm_mad_sys != "" ) // VM has TM_MAD_SYSTEM already defined
|
||||
if ( !tm_mad_sys.empty() ) // VM has TM_MAD_SYSTEM already defined
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user