mirror of
https://github.com/minio/minio.git
synced 2026-11-13 14:44:19 +00:00
add thread context in surrounding function into IAM functions (#13658)
This commit is contained in:
1 parent
7752cdbfaf
commit
07c5e72cdb
9 files changed
+82
-81
No files matched your search
+1
-1
@@ -1353,7 +1353,7 @@ func (store *IAMStoreSys) SetTempUser(ctx context.Context, accessKey string, cre
|
||||
}
|
||||
|
||||
u := newUserIdentity(cred)
|
||||
err := store.saveUserIdentity(context.Background(), accessKey, stsUser, u, options{ttl: ttl})
|
||||
err := store.saveUserIdentity(ctx, accessKey, stsUser, u, options{ttl: ttl})
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user