Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rosetta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ExaCT
Rosetta
Commits
83ab7f1f
Commit
83ab7f1f
authored
Nov 27, 2021
by
Stefano Alberto Russo
Browse files
Options
Downloads
Patches
Plain Diff
Disabled sending a task ready email if not using a WMS.
parent
50a6a2bd
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
services/webapp/code/rosetta/core_app/api.py
+10
-9
10 additions, 9 deletions
services/webapp/code/rosetta/core_app/api.py
with
10 additions
and
9 deletions
services/webapp/code/rosetta/core_app/api.py
+
10
−
9
View file @
83ab7f1f
...
...
@@ -342,7 +342,8 @@ print(port)
# Save the task
task
.
save
()
# Notify the user that the task called back home
# Notify the user that the task called back home if using a WMS
if
task
.
computing
.
wms
:
if
settings
.
DJANGO_EMAIL_APIKEY
:
logger
.
info
(
'
Sending task ready mail notification to
"
{}
"'
.
format
(
task
.
user
.
email
))
mail_subject
=
'
Your Task
"
{}
"
is now starting up
'
.
format
(
task
.
container
.
name
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment