From ec5e2df96b1249f756823666293dc75974044d12 Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Tue, 20 Jun 2023 18:24:22 +0300 Subject: [PATCH] cli: Fix panic in `storage-group put` Context was added in #2135 but not initialized. Signed-off-by: Pavel Karpy --- cmd/neofs-cli/modules/storagegroup/put.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/neofs-cli/modules/storagegroup/put.go b/cmd/neofs-cli/modules/storagegroup/put.go index 57a91afd1e..e0ae5a327f 100644 --- a/cmd/neofs-cli/modules/storagegroup/put.go +++ b/cmd/neofs-cli/modules/storagegroup/put.go @@ -95,6 +95,7 @@ func putSG(cmd *cobra.Command, _ []string) { headPrm.SetClient(cli) sg, err := storagegroup.CollectMembers(sgHeadReceiver{ + ctx: ctx, cmd: cmd, key: pk, ownerID: &ownerID,