forked from TrueCloudLab/frostfs-node
[#1] Fix naming in FrostFS CLI help output
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
This commit is contained in:
parent
406ff1360f
commit
d31d8c5335
18 changed files with 35 additions and 35 deletions
|
@ -19,8 +19,8 @@ import (
|
|||
|
||||
var objectGetCmd = &cobra.Command{
|
||||
Use: "get",
|
||||
Short: "Get object from NeoFS",
|
||||
Long: "Get object from NeoFS",
|
||||
Short: "Get object from FrostFS",
|
||||
Long: "Get object from FrostFS",
|
||||
Run: getObject,
|
||||
}
|
||||
|
||||
|
@ -115,7 +115,7 @@ func getObject(cmd *cobra.Command, _ []string) {
|
|||
|
||||
if binary {
|
||||
objToStore := res.Header()
|
||||
//TODO(@acid-ant): #1932 Use streams to marshal/unmarshal payload
|
||||
// TODO(@acid-ant): #1932 Use streams to marshal/unmarshal payload
|
||||
objToStore.SetPayload(payloadBuffer.Bytes())
|
||||
objBytes, err := objToStore.Marshal()
|
||||
common.ExitOnErr(cmd, "", err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue