From f5fda096593b0b27c9603ef874a2b71f8b6594e2 Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Mon, 20 Nov 2023 17:36:40 +0300 Subject: [PATCH] netmap: Fix comments to the LOCODE attributes They are not changed by the Alphabet anymore after https://github.com/nspcc-dev/neofs-node/pull/2648. Signed-off-by: Pavel Karpy --- netmap/node_info.go | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/netmap/node_info.go b/netmap/node_info.go index abc0f3b6..0eec84e6 100644 --- a/netmap/node_info.go +++ b/netmap/node_info.go @@ -314,53 +314,35 @@ func (x NodeInfo) LOCODE() string { // SetCountryCode sets code of the country in ISO 3166-1_alpha-2 to which // storage node belongs (or the closest one). -// -// SetCountryCode is intended only for processing the network registration -// request by the Inner Ring. Other parties SHOULD NOT use it. func (x *NodeInfo) SetCountryCode(countryCode string) { x.SetAttribute("CountryCode", countryCode) } // SetCountryName sets short name of the country in ISO-3166 format to which // storage node belongs (or the closest one). -// -// SetCountryName is intended only for processing the network registration -// request by the Inner Ring. Other parties SHOULD NOT use it. func (x *NodeInfo) SetCountryName(country string) { x.SetAttribute("Country", country) } // SetLocationName sets storage node's location name from "NameWoDiacritics" // column in the UN/LOCODE record corresponding to the specified LOCODE. -// -// SetLocationName is intended only for processing the network registration -// request by the Inner Ring. Other parties SHOULD NOT use it. func (x *NodeInfo) SetLocationName(location string) { x.SetAttribute("Location", location) } // SetSubdivisionCode sets storage node's subdivision code from "SubDiv" column in // the UN/LOCODE record corresponding to the specified LOCODE. -// -// SetSubdivisionCode is intended only for processing the network registration -// request by the Inner Ring. Other parties SHOULD NOT use it. func (x *NodeInfo) SetSubdivisionCode(subDiv string) { x.SetAttribute("SubDivCode", subDiv) } // SetSubdivisionName sets storage node's subdivision name in ISO 3166-2 format. -// -// SetSubdivisionName is intended only for processing the network registration -// request by the Inner Ring. Other parties SHOULD NOT use it. func (x *NodeInfo) SetSubdivisionName(subDiv string) { x.SetAttribute("SubDiv", subDiv) } // SetContinentName sets name of the storage node's continent from // Seven-Continent model. -// -// SetContinentName is intended only for processing the network registration -// request by the Inner Ring. Other parties SHOULD NOT use it. func (x *NodeInfo) SetContinentName(continent string) { x.SetAttribute("Continent", continent) }