[#1389] storagegroup: Upgrade SDK package

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2022-05-13 12:25:13 +03:00 committed by LeL
parent 0f376a5d83
commit 5e50ddd7f5
7 changed files with 10 additions and 11 deletions

View file

@ -248,7 +248,7 @@ func getSG(cmd *cobra.Command, _ []string) {
_, err = internalclient.GetObject(prm)
exitOnErr(cmd, errf("rpc error: %w", err))
sg := storagegroupAPI.New()
var sg storagegroupAPI.StorageGroup
err = sg.Unmarshal(buf.Bytes())
exitOnErr(cmd, errf("could not unmarshal storage group: %w", err))