Skip to content

Commit

Permalink
Bugfix: hard copying dictionary is required
Browse files Browse the repository at this point in the history
  • Loading branch information
tsoenen authored Mar 21, 2018
1 parent ac4822f commit 8e4a131
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ def from_monitoring_ssm(self, ch, method, prop, payload):
if content['workflow'] == 'migrate':
new_serv_id = str(uuid.uuid4())
self.services[new_serv_id] = {}
self.services[new_serv_id] = self.services[serv_id]
self.services[new_serv_id] = self.services[serv_id].copy()
self.services[new_serv_id]['old_serv_id'] = serv_id
self.migrate_workflow(new_serv_id, content['data'])
# TODO: add additional workflows
Expand Down

0 comments on commit 8e4a131

Please sign in to comment.