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
481b48b942
commit
09a59fef56
2 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,7 @@ Changelog for NeoFS Node
|
||||||
### Added
|
### Added
|
||||||
- `morph list-containers` in `neofs-adm` (#1689)
|
- `morph list-containers` in `neofs-adm` (#1689)
|
||||||
- `--binary` flag in `neofs-cli object put/get/delete` commands (#1338)
|
- `--binary` flag in `neofs-cli object put/get/delete` commands (#1338)
|
||||||
|
- `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