Remove unnecessary save call
In
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.
@@ -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
