From 37ab26bfa94f994cde25f7966e46eb483159a3e4 Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Fri, 19 Aug 2022 20:52:29 +0300 Subject: [PATCH] [#1296] cli: "ID" -> "OID" Signed-off-by: Pavel Karpy --- CHANGELOG.md | 1 + cmd/neofs-cli/modules/object/put.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 42c9ae317..f5842ad66 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/cmd/neofs-cli/modules/object/put.go b/cmd/neofs-cli/modules/object/put.go index e6b16be35..4826015ec 100644 --- a/cmd/neofs-cli/modules/object/put.go +++ b/cmd/neofs-cli/modules/object/put.go @@ -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) {