forked from TrueCloudLab/xk6-frostfs
fix format %w
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
This commit is contained in:
parent
ce4595fca1
commit
b24baf06ca
1 changed files with 2 additions and 2 deletions
|
@ -79,7 +79,7 @@ func (n *Native) Connect(endpoint, hexPrivateKey string, dialTimeout, streamTime
|
||||||
|
|
||||||
err = cli.Dial(prmDial)
|
err = cli.Dial(prmDial)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("dial endpoint: %w %w", endpoint, err)
|
return nil, fmt.Errorf("dial endpoint: %s %w", endpoint, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
// generate session token
|
// generate session token
|
||||||
|
@ -88,7 +88,7 @@ func (n *Native) Connect(endpoint, hexPrivateKey string, dialTimeout, streamTime
|
||||||
prmSessionCreate.SetExp(exp)
|
prmSessionCreate.SetExp(exp)
|
||||||
sessionResp, err := cli.SessionCreate(n.vu.Context(), prmSessionCreate)
|
sessionResp, err := cli.SessionCreate(n.vu.Context(), prmSessionCreate)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("dial endpoint: %w %w", endpoint, err)
|
return nil, fmt.Errorf("dial endpoint: %s %w", endpoint, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
var id uuid.UUID
|
var id uuid.UUID
|
||||||
|
|
Loading…
Reference in a new issue