Skip to content

Commit c0722ff

Browse files
authored
Update routes.py
1 parent ced5888 commit c0722ff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/argowrapper/routes/routes.py

+2
Original file line numberDiff line numberDiff line change
@@ -323,11 +323,13 @@ def get_workflows(
323323

324324
try:
325325
if team_projects and len(team_projects) > 0:
326+
logger.info("Doing team workflow get")
326327
return argo_engine.get_workflows_for_team_projects_and_user(
327328
team_projects=team_projects,
328329
auth_header=request.headers.get("Authorization"),
329330
)
330331
else:
332+
logger.info("Doing regular workflow get")
331333
# no team_projects, so fall back to querying the workflows that belong just to the user (no team project):
332334
return argo_engine.get_workflows_for_user(
333335
request.headers.get("Authorization")

0 commit comments

Comments
 (0)