1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Merge branch 'feature-200' of dsa-research.org:one into feature-200

This commit is contained in:
Ruben S. Montero 2010-06-11 17:16:43 +02:00
commit 9086162bbb

View File

@ -119,6 +119,7 @@ public:
};
/** Modify an image attribute in the template OR the public attribute
* and updates it in the DB (Image MUST be locked)
* @param image pointer to Image
* @param name of the attribute to be changed
* @param new value for the attribute
@ -140,6 +141,8 @@ public:
return image->update_template_attribute(db, name, value);
}
image->update(db);
return rc;
}