We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e1de11 commit c971b25Copy full SHA for c971b25
dbos/conductor_protocol.go
@@ -114,9 +114,13 @@ func formatListWorkflowsResponseBody(wf WorkflowStatus) listWorkflowsConductorRe
114
output.WorkflowName = &wf.Name
115
}
116
117
- // Copy optional fields
118
- output.AuthenticatedUser = &wf.AuthenticatedUser
119
- output.AssumedRole = &wf.AssumedRole
+ // Convert identity fields
+ if wf.AuthenticatedUser != "" {
+ output.AuthenticatedUser = &wf.AuthenticatedUser
120
+ }
121
+ if wf.AssumedRole != "" {
122
+ output.AssumedRole = &wf.AssumedRole
123
124
// Convert authenticated roles to JSON string if present
125
if len(wf.AuthenticatedRoles) > 0 {
126
rolesJSON, err := json.Marshal(wf.AuthenticatedRoles)
0 commit comments