forked from TrueCloudLab/frostfs-node
[#1389] storagegroup: Upgrade SDK package
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
0f376a5d83
commit
5e50ddd7f5
7 changed files with 10 additions and 11 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue