mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 03:12:55 +09:00
Merge branch 'feature-200' of dsa-research.org:one into feature-200
This commit is contained in:
commit
9086162bbb
1 file changed
+3
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user