mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Feature #3987: Minor style change
This commit is contained in:
parent
a802856408
commit
64f0b61316
@ -274,6 +274,9 @@ int DatastorePool::drop(PoolObjectSQL * objsql, string& error_msg)
|
||||
return rc;
|
||||
}
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
|
||||
int DatastorePool::disk_attribute(int ds_id, VectorAttribute * disk)
|
||||
{
|
||||
Datastore * ds = get(ds_id, true);
|
||||
|
@ -3677,7 +3677,10 @@ bool VirtualMachine::volatile_disk_extended_info(Template *tmpl)
|
||||
|
||||
found = true;
|
||||
|
||||
ds_pool->disk_attribute(get_ds_id(), disk);
|
||||
if (hasHistory())
|
||||
{
|
||||
ds_pool->disk_attribute(get_ds_id(), disk);
|
||||
}
|
||||
}
|
||||
|
||||
return found;
|
||||
|
Loading…
x
Reference in New Issue
Block a user