[#1296] cli: "ID" -> "OID"

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-08-19 20:52:29 +03:00 committed by LeL
parent e8c6dce466
commit 37ab26bfa9
2 changed files with 2 additions and 1 deletions

View file

@ -6,6 +6,7 @@ Changelog for NeoFS Node
### Added
### Changed
- `neofs-cli object put`'s object ID output has changed from "ID" to "OID" (#1296)
### Fixed
- Panic on write-cache's `Delete` operation (#1664)

View file

@ -140,7 +140,7 @@ func putObject(cmd *cobra.Command, _ []string) {
common.ExitOnErr(cmd, "rpc error: %w", err)
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) {