Skip to content

Commit

Permalink
cli: Fix panic in storage-group put
Browse files Browse the repository at this point in the history
Context was added in #2135 but not initialized.

Signed-off-by: Pavel Karpy <[email protected]>
  • Loading branch information
notimetoname committed Jun 20, 2023
1 parent 93733ff commit ec5e2df
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 ec5e2df

Please sign in to comment.