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

Fix bug in DeploymentState.get_or_create

parent 848767ac
......@@ -445,7 +445,9 @@ class DeploymentState(models.Model):
)
if created:
LOGGER.debug(state.msg('Created'))
state.bind_to_deployment(deployment)
# always bind this state to the deployment
state.bind_to_deployment(deployment)
return state, created
......
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