[#2029] cli: Allow attaching static session to object hash

All the other object commands already have it.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-11-10 18:49:58 +03:00 committed by fyrchik
parent 481b48b942
commit 09a59fef56
2 changed files with 2 additions and 0 deletions

View file

@ -32,6 +32,7 @@ var objectHashCmd = &cobra.Command{
func initObjectHashCmd() {
commonflags.Init(objectHashCmd)
initFlagSession(objectHeadCmd, "RANGEHASH")
flags := objectHashCmd.Flags()