Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalBackend
Commits
4894064c
Commit
4894064c
authored
Sep 25, 2020
by
lukas.burgey
Browse files
Logger deployment accesses
parent
f8bf46b8
Pipeline
#110851
failed with stage
in 1 minute and 25 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
feudal/backend/models/deployments.py
View file @
4894064c
...
...
@@ -169,6 +169,8 @@ class VODeployment(Deployment):
if
created
:
LOGGER
.
debug
(
deployment
.
msg
(
'Created'
))
else
:
LOGGER
.
debug
(
deployment
.
msg
(
'Accessed'
))
LOGGER
.
debug
(
'VO has services: %s'
,
vo
.
services
.
all
())
for
service
in
vo
.
services
.
all
():
...
...
@@ -205,8 +207,9 @@ class ServiceDeployment(Deployment):
if
created
:
LOGGER
.
debug
(
deployment
.
msg
(
'Created'
))
else
:
LOGGER
.
debug
(
deployment
.
msg
(
'Accessed'
))
LOGGER
.
debug
(
'Service exists: %s'
,
service
)
DeploymentState
.
get_or_create
(
user
,
service
,
deployment
)
return
deployment
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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