frostfs-node/cmd
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
..
frostfs-adm [#1538] morph/client: Remove TryNotary() option from side-chain contracts 2024-12-04 15:30:58 +03:00
frostfs-cli cli: Make --range flag required in object hash 2024-12-18 10:02:06 +03:00
frostfs-ir [#1502] Use zap.Error for logging errors 2024-12-16 11:13:42 +03:00
frostfs-lens [#1437] node: Fix contextcheck linter 2024-11-13 10:36:10 +03:00
frostfs-node [#1452] container: Add ListStream method 2024-12-17 16:22:43 +03:00
internal/common [#1519] cli: Make descriptive help for--rule option 2024-11-25 07:21:05 +00:00