Remove extra save from RemoveOstPoolJob and AddOstPoolJob
Remove the `.save()` from the main model for `AddOstPoolJob` and
`RemoveOstPoolJob`.
This was causing an extra commit in the db on the main model, which
doesn't have any direct fk fields to the ost pool osts.
@@ -597,7 +597,6 @@ class AddOstPoolJob(Job):
def on_success(self):
super(AddOstPoolJob, self).on_success()
self.pool.osts.add(self.ost)
- self.pool.save()
class AddOstPoolStep(Step):
@@ -652,7 +651,6 @@ class RemoveOstPoolJob(Job):
def on_success(self):
super(RemoveOstPoolJob, self).on_success()
self.pool.osts.remove(self.ost)
- self.pool.save()
class RemoveOstPoolStep(Step):
