Remove unnecessary save call
In Change-ID Ic8a8ba2271d6ed672b694d3991dabd46bd9a69f4 we added: vref.multiattach = self._is_multiattach(volume_type) vref.save() Then we remove the assignment but forgot to remove the save. This patch removes that unnecessary save call. Change-Id: I993444ba3b6e976d40ae7c5858b32999eb337c66
This commit is contained in:
parent
779b0249fa
commit
9607e2e6e4
|
@ -356,7 +356,6 @@ class API(base.Base):
|
|||
# Refresh the object here, otherwise things ain't right
|
||||
vref = objects.Volume.get_by_id(
|
||||
context, vref['id'])
|
||||
vref.save()
|
||||
LOG.info("Create volume request issued successfully.",
|
||||
resource=vref)
|
||||
return vref
|
||||
|
|
Loading…
Reference in New Issue