frostfs-node/cmd/frostfs-cli
Evgenii Stratonikov 1e62256f94
cli: Make --range flag required in object hash
Previously, `object head` was used if no range was provided.
This is wrong on multiple levels:
1. We print an error if the checksum is missing in header,
   even though taking hash is possible.
2. We silently ignore --salt parameter.
3. `--range` is required for Object.RANGEHASH RPC, custom logic for one
   specific usecase has no value.

So we make it required and make CLI command follow more closely
the FrostFS API.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-18 10:02:06 +03:00
..
docs [#1483] cli/docs: Remove set-eacl mention 2024-11-12 12:10:51 +00:00
internal [#1452] container: Add ListStream method 2024-12-17 16:22:43 +03:00
modules cli: Make --range flag required in object hash 2024-12-18 10:02:06 +03:00
main.go Rename package name 2023-03-07 16:38:26 +03:00