forked from TrueCloudLab/frostfs-node
[#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:
parent
6acb831248
commit
ddba9180ef
2 changed files with 3 additions and 0 deletions
|
@ -4,6 +4,8 @@ Changelog for NeoFS Node
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
- `session` flag support to `neofs-cli object hash` (#2029)
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- `object lock` command reads CID and OID the same way other commands do (#1971)
|
- `object lock` command reads CID and OID the same way other commands do (#1971)
|
||||||
|
|
||||||
|
|
|
@ -32,6 +32,7 @@ var objectHashCmd = &cobra.Command{
|
||||||
|
|
||||||
func initObjectHashCmd() {
|
func initObjectHashCmd() {
|
||||||
commonflags.Init(objectHashCmd)
|
commonflags.Init(objectHashCmd)
|
||||||
|
initFlagSession(objectHeadCmd, "RANGEHASH")
|
||||||
|
|
||||||
flags := objectHashCmd.Flags()
|
flags := objectHashCmd.Flags()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue