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:
commit
9086162bbb
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user