Skip to content

Commit

Permalink
fix/Panic in storagegroup put (#2399)
Browse files Browse the repository at this point in the history
Context was added in #2135 but not initialized.

Closes #2398.
  • Loading branch information
roman-khimov committed Jun 20, 2023
2 parents cfb7822 + ec5e2df commit fc8dd84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/neofs-cli/modules/storagegroup/put.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit fc8dd84

Please sign in to comment.