Commit 744272cf authored by lukas.burgey's avatar lukas.burgey

Fix bug in DeploymentState.get_or_create

parent b183e5dd
Pipeline #110767 passed with stage
in 1 minute and 24 seconds
......@@ -415,7 +415,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