Skip to content

Commit

Permalink
fix: stop looking for user with id "nobody"
Browse files Browse the repository at this point in the history
Signed-off-by: Donnie Adams <[email protected]>
  • Loading branch information
thedadams committed Dec 17, 2024
1 parent 5d4f00a commit 13ce68b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/invoke/invoker.go
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ func (i *Invoker) Resume(ctx context.Context, c kclient.WithWatch, thread *v1.Th
}

var userID, userName, userEmail string
if thread.Spec.UserUID != "" {
if thread.Spec.UserUID != "" && thread.Spec.UserUID != "nobody" {
u, err := i.gatewayClient.UserByID(ctx, thread.Spec.UserUID)
if err != nil {
return fmt.Errorf("failed to get user: %w", err)
Expand Down

0 comments on commit 13ce68b

Please sign in to comment.