From 023396e6a4dfe5a0abcce7d62cb58973769a8891 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Tue, 10 Jan 2023 15:59:39 +0300 Subject: [PATCH] [#11] adm: Remove `NeoFS` mentions Signed-off-by: Evgenii Stratonikov --- cmd/frostfs-adm/README.md | 2 +- .../internal/modules/morph/internal/types.go | 8 ++++---- .../modules/morph/internal/types.pb.go | Bin 6523 -> 6579 bytes .../modules/morph/internal/types.proto | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cmd/frostfs-adm/README.md b/cmd/frostfs-adm/README.md index 13bcd111..30a83690 100644 --- a/cmd/frostfs-adm/README.md +++ b/cmd/frostfs-adm/README.md @@ -1,4 +1,4 @@ -# NeoFS Admin Tool +# FrostFS Admin Tool ## Overview diff --git a/cmd/frostfs-adm/internal/modules/morph/internal/types.go b/cmd/frostfs-adm/internal/modules/morph/internal/types.go index 705ae007..93d2cb00 100644 --- a/cmd/frostfs-adm/internal/modules/morph/internal/types.go +++ b/cmd/frostfs-adm/internal/modules/morph/internal/types.go @@ -18,7 +18,7 @@ func StringifySubnetClientGroupID(id *SubnetClientGroupID) string { return string(text) } -// MarshalText encodes SubnetClientGroupID into text format according to NeoFS API V2 protocol: +// MarshalText encodes SubnetClientGroupID into text format according to FrostFS API V2 protocol: // value in base-10 integer string format. // // It implements encoding.TextMarshaler. @@ -28,7 +28,7 @@ func (x *SubnetClientGroupID) MarshalText() ([]byte, error) { return []byte(strconv.FormatUint(uint64(num), 10)), nil } -// UnmarshalText decodes the SubnetID from the text according to NeoFS API V2 protocol: +// UnmarshalText decodes the SubnetID from the text according to FrostFS API V2 protocol: // should be base-10 integer string format with bitsize = 32. // // Returns strconv.ErrRange if integer overflows uint32. @@ -47,13 +47,13 @@ func (x *SubnetClientGroupID) UnmarshalText(txt []byte) error { return nil } -// Marshal encodes the SubnetClientGroupID into a binary format of NeoFS API V2 protocol +// Marshal encodes the SubnetClientGroupID into a binary format of FrostFS API V2 protocol // (Protocol Buffers with direct field order). func (x *SubnetClientGroupID) Marshal() ([]byte, error) { return proto.Marshal(x) } -// Unmarshal decodes the SubnetClientGroupID from NeoFS API V2 binary format (see Marshal). Must not be called on nil. +// Unmarshal decodes the SubnetClientGroupID from FrostFS API V2 binary format (see Marshal). Must not be called on nil. func (x *SubnetClientGroupID) Unmarshal(data []byte) error { return proto.Unmarshal(data, x) } diff --git a/cmd/frostfs-adm/internal/modules/morph/internal/types.pb.go b/cmd/frostfs-adm/internal/modules/morph/internal/types.pb.go index 62e41763f7ccc3307bc6965190d81944985cc980..49cce0aeb18d9a45d326a7b8f299466f72040174 100644 GIT binary patch delta 455 zcmexuwApw<0h6K8#KP2x-zz6xRoGm>sKChTR+L{{vUxJoQ8vb;$^UpHWfcr6%*=Fv zq`47@G)n`sjlrbJE=A)xNb;XFE-reH3_XAry0z&4tIodR(- z(8pk%5C?-bn1KCb26l-V*jkX^2n3WoC{*6@Xc7)l7DJ$olbv}@q2Vb3(zyi4HQ~~l TT)`_aS(s0qQDL(UpFKAKs^oG+ delta 403 zcmdmN{M%?k0i*fEqSVQOjPet&R&Op~RA6NGOU>UrmFXxOqvhmiPFdbm9R-65GgB~` zHhChaJRgXk0^%E`>2PsQ-p3gX76L0VHwFpGb3ufX5vm%XLQsQ1svbgw42?mmOu-tR zxWO9DA!ZqXR4wKXmH^5d7=q2R015#)=3p&GllOCL=$jaUI3{Uep+qnn>^d{BA~Q>n zh`9-fGz00LoXVr)Z3gxg(6Jyn1F#&JZ3ZTdAo?MCAWks@+Y9tC$Qbk>5$A-60A(jj v^J)r#oQR=FesUwP!DJggfyo~@6(>L9HDCg|We2ClWFJ0tAaipGpFKAKcdTXJ diff --git a/cmd/frostfs-adm/internal/modules/morph/internal/types.proto b/cmd/frostfs-adm/internal/modules/morph/internal/types.proto index c15744f3..8f5ce70d 100644 --- a/cmd/frostfs-adm/internal/modules/morph/internal/types.proto +++ b/cmd/frostfs-adm/internal/modules/morph/internal/types.proto @@ -4,7 +4,7 @@ package neo.fs.v2.refs; option go_package = "github.com/TrueCloudLab/frostfs-node/cmd/frostfs-adm/internal/modules/morph/internal"; -// Client group identifier in the NeoFS subnet. +// Client group identifier in the FrostFS subnet. // // String representation of a value is base-10 integer. //