diff --git a/cmd/frostfs-cli/modules/container/policy_playground.go b/cmd/frostfs-cli/modules/container/policy_playground.go index fa10dc10e..65255f9c2 100644 --- a/cmd/frostfs-cli/modules/container/policy_playground.go +++ b/cmd/frostfs-cli/modules/container/policy_playground.go @@ -121,7 +121,7 @@ func (repl *policyPlaygroundREPL) run() error { var prm internalclient.NetMapSnapshotPrm prm.SetClient(cli) - resp, err := internalclient.NetMapSnapshot(prm) + resp, err := internalclient.NetMapSnapshot(repl.cmd.Context(), prm) commonCmd.ExitOnErr(repl.cmd, "unable to get netmap snapshot to populate initial netmap: %w", err) for _, node := range resp.NetMap().Nodes() {