Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
workspaces
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
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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ssa
workspaces
Commits
39cc0edd
Commit
39cc0edd
authored
1 year ago
by
Nathan Bockisch
Browse files
Options
Downloads
Patches
Plain Diff
Forgot self
parent
e483a63b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1458
WS-1977: Make sure workflow requests QA announced from the UI have user_email field populated
Pipeline
#11795
failed
1 year ago
Stage: pull-db
Stage: build
Stage: unit-test
Stage: .post
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
services/workflow/workflow/server.py
+2
-2
2 additions, 2 deletions
services/workflow/workflow/server.py
with
2 additions
and
2 deletions
services/workflow/workflow/server.py
+
2
−
2
View file @
39cc0edd
...
...
@@ -511,7 +511,7 @@ class WorkflowRequestRestService:
body
=
f
"
SUCCESS for identifier
'
{
identifier
}
'
: Sent
'
{
msg_type
}
'
to AAT for this workflow
'
s SDM
"
,
)
def
get_contacts
(
requested_workflow
)
->
str
:
def
get_contacts
(
self
,
requested_workflow
)
->
str
:
"""
Method that retrieves the PI/CoI email information for a given workflow
request
...
...
@@ -575,7 +575,7 @@ class WorkflowRequestRestService:
# Populate the contact information for the workflow request to ensure
# the QA announcement doesn't fail when initiated via the web interface
user_email
=
get_contacts
(
requested_workflow
)
user_email
=
self
.
get_contacts
(
requested_workflow
)
if
not
user_email
:
logger
.
info
(
f
"
WARNING: Could not retrieve user email for workflow request ID
{
request_id
}
"
)
...
...
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