Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalBackend
Commits
744272cf
Commit
744272cf
authored
Sep 25, 2020
by
lukas.burgey
Browse files
Fix bug in DeploymentState.get_or_create
parent
b183e5dd
Pipeline
#110767
passed with stage
in 1 minute and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
feudal/backend/models/deployments.py
View file @
744272cf
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment