Commit efc27bd3 authored by lukas.burgey's avatar lukas.burgey

Remove unwanted Deployent.update

parent 14b00c9c
Pipeline #110833 failed with stage
in 1 minute and 12 seconds
......@@ -115,10 +115,6 @@ class Deployment(PolymorphicModel):
def _assure_states_exist(self): # pragma: no cover
raise NotImplementedError('Should be overwritten in subclass')
def update(self):
self._assure_states_exist()
self.publish_to_user()
# call when you changed Deployment.state_target
def target_changed(self):
LOGGER.debug(self.msg('Target changed to {}'.format(self.state_target)))
......
......@@ -86,10 +86,6 @@ class ConfigurationView(views.APIView):
except VO.DoesNotExist:
service.vos.add(vo)
# we need to update the Deployments here
for dep in vo.vo_deployments.all():
dep.update()
# returns the service ID to service mapping contained in the request
def parse_sid_to_service(self, request):
self.sid_to_service = {}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment