Don't need to update flavor if only access projects changed
Bug #1718092 reported by
Liusheng
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mogan |
Fix Released
|
Undecided
|
Liusheng |
Bug Description
Currently, in the objects layer, it will always call flavor_update() even only the flavor access updated.
related code:
def save(self, context=None):
updates = self.obj_
projects = updates.
# access projects
if projects is not None:
else:
if added_projects or deleted_projects:
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/505004
Review: https:/