forked from TrueCloudLab/frostfs-s3-gw
[#348] Remove prefix to errors in authmate
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
This commit is contained in:
parent
f04815c32f
commit
ee6c582ec8
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ func (a *Agent) IssueSecret(ctx context.Context, w io.Writer, options *IssueSecr
|
|||
|
||||
gatesData, err := createTokens(options, lifetime, cid)
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to build bearer token: %w", err)
|
||||
return err
|
||||
}
|
||||
|
||||
box, secrets, err := accessbox.PackTokens(gatesData)
|
||||
|
|
Loading…
Reference in a new issue