[#762] go.mod: Update sdk-go
All checks were successful
DCO action / DCO (pull_request) Successful in 3m4s
Build / Build Components (1.20) (pull_request) Successful in 4m36s
Tests and linters / Tests (1.20) (pull_request) Successful in 7m0s
Tests and linters / Tests with -race (pull_request) Successful in 7m0s
Tests and linters / Staticcheck (pull_request) Successful in 3m1s
Tests and linters / Tests (1.21) (pull_request) Successful in 3m24s
Tests and linters / Lint (pull_request) Successful in 3m28s
Vulncheck / Vulncheck (pull_request) Successful in 1m0s
Build / Build Components (1.21) (pull_request) Successful in 1m33s

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2023-10-30 10:28:41 +03:00
parent 121f5c4dd8
commit 63e34af6ab
5 changed files with 3 additions and 3 deletions

View file

@ -50,7 +50,6 @@ func GetSDKClient(ctx context.Context, cmd *cobra.Command, key *ecdsa.PrivateKey
)
prmInit.SetDefaultPrivateKey(*key)
prmInit.ResolveFrostFSFailures()
prmDial.SetServerURI(addr.URIAddr())
if timeout := viper.GetDuration(commonflags.Timeout); timeout > 0 {
// In CLI we can only set a timeout for the whole operation.

View file

@ -39,7 +39,7 @@ var accountingBalanceCmd = &cobra.Command{
var prm internalclient.BalanceOfPrm
prm.SetClient(cli)
prm.SetAccount(idUser)
prm.Account = &idUser
res, err := internalclient.BalanceOf(cmd.Context(), prm)
commonCmd.ExitOnErr(cmd, "rpc error: %w", err)

2
go.mod
View file

@ -6,7 +6,7 @@ require (
git.frostfs.info/TrueCloudLab/frostfs-api-go/v2 v2.16.0
git.frostfs.info/TrueCloudLab/frostfs-contract v0.18.0
git.frostfs.info/TrueCloudLab/frostfs-observability v0.0.0-20230531082742-c97d21411eb6
git.frostfs.info/TrueCloudLab/frostfs-sdk-go v0.0.0-20231019083813-5804128ff3d5
git.frostfs.info/TrueCloudLab/frostfs-sdk-go v0.0.0-20231027075445-a02c0bfac885
git.frostfs.info/TrueCloudLab/hrw v1.2.1
git.frostfs.info/TrueCloudLab/tzhash v1.8.0
github.com/cheggaaa/pb v1.0.29

BIN
go.sum

Binary file not shown.

View file

@ -57,6 +57,7 @@ func (x *multiClient) createForAddress(ctx context.Context, addr network.Address
prmDial client.PrmDial
)
prmInit.DisableFrostFSFailuresResolution()
prmDial.SetServerURI(addr.URIAddr())
if x.opts.Key != nil {