forked from TrueCloudLab/frostfs-node
[#1296] cli: "ID" -> "OID"
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
e8c6dce466
commit
37ab26bfa9
2 changed files with 2 additions and 1 deletions
|
@ -6,6 +6,7 @@ Changelog for NeoFS Node
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
- `neofs-cli object put`'s object ID output has changed from "ID" to "OID" (#1296)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Panic on write-cache's `Delete` operation (#1664)
|
- Panic on write-cache's `Delete` operation (#1664)
|
||||||
|
|
|
@ -140,7 +140,7 @@ func putObject(cmd *cobra.Command, _ []string) {
|
||||||
common.ExitOnErr(cmd, "rpc error: %w", err)
|
common.ExitOnErr(cmd, "rpc error: %w", err)
|
||||||
|
|
||||||
cmd.Printf("[%s] Object successfully stored\n", filename)
|
cmd.Printf("[%s] Object successfully stored\n", filename)
|
||||||
cmd.Printf(" ID: %s\n CID: %s\n", res.ID(), cnr)
|
cmd.Printf(" OID: %s\n CID: %s\n", res.ID(), cnr)
|
||||||
}
|
}
|
||||||
|
|
||||||
func parseObjectAttrs(cmd *cobra.Command) ([]object.Attribute, error) {
|
func parseObjectAttrs(cmd *cobra.Command) ([]object.Attribute, error) {
|
||||||
|
|
Loading…
Reference in a new issue