mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
add thread context in surrounding function into IAM functions (#13658)
This commit is contained in:
committed by
GitHub
parent
7752cdbfaf
commit
07c5e72cdb
@@ -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