frostfs-node/cmd/frostfs-cli/modules/object
Evgenii Stratonikov bed49e6ace
[#1569] 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:17:04 +03:00
..
delete.go [#406] cli: Pass context to internal client 2023-06-02 11:44:04 +00:00
get.go [#1103] node: Implement Get\Head requests for EC object 2024-04-24 18:15:53 +03:00
hash.go [#1569] cli: Make --range flag required in object hash 2024-12-18 10:17:04 +03:00
head.go [#1479] go.mod: Bump frostfs-sdk-go version 2024-11-08 10:43:19 +03:00
lock.go [#1479] go.mod: Bump frostfs-sdk-go version 2024-11-08 10:43:19 +03:00
nodes.go [#1528] cli: Keep order for required nodes in the result of object nodes 2024-12-02 13:58:24 +03:00
patch.go [#1307] cli: Introduce object patch command 2024-08-16 14:13:09 +00:00
put.go [#1479] go.mod: Bump frostfs-sdk-go version 2024-11-08 10:43:19 +03:00
range.go [#1147] cli: Fix output when print EC info with flags json & proto 2024-05-30 08:13:04 +00:00
root.go [#1307] cli: Introduce object patch command 2024-08-16 14:13:09 +00:00
search.go [#496] node: Fix linter importas 2023-07-06 15:36:41 +03:00
util.go [#1329] cli: Skip linking objects in complex object processing 2024-08-23 13:51:20 +03:00