mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 04:12:37 +09:00
Feature #3987: Minor style change
This commit is contained in:
1 parent
a802856408
commit
64f0b61316
2 files changed
+7
-1
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user