Add tracking of worker used for injection (#3204)
This commit is contained in:
1 parent
8b8b665483
commit
bbe9719e19
7 files changed
+198
-1
No files matched your search
@@ -922,6 +922,9 @@ func (s Service) AuthorizeSession(ctx context.Context, req *pbs.AuthorizeSession
|
||||
DynamicCredentials: dynCreds,
|
||||
StaticCredentials: staticCreds,
|
||||
}
|
||||
if protoWorker != nil {
|
||||
sessionComposition.ProtocolWorkerId = protoWorker.GetPublicId()
|
||||
}
|
||||
sess, err := session.New(sessionComposition)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in new issue
Block a user