forked from TrueCloudLab/frostfs-node
[#1687] *: Perform go fmt
using go v1.19
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
37ab26bfa9
commit
30341f2192
25 changed files with 114 additions and 112 deletions
|
@ -21,12 +21,12 @@ var errMissingRequiredAttr = errors.New("missing required attribute in DB record
|
|||
//
|
||||
// New attributes are formed from the record of DB instance (Prm).
|
||||
// If DB entry R was found w/o errors, new attributes are:
|
||||
// * CountryCode: R.CountryCode().String();
|
||||
// * Country: R.CountryName();
|
||||
// * Location: Record.LocationName();
|
||||
// * SubDivCode: R.SubDivCode();
|
||||
// * SubDiv: R.SubDivName();
|
||||
// * Continent: R.Continent().String().
|
||||
// - CountryCode: R.CountryCode().String();
|
||||
// - Country: R.CountryName();
|
||||
// - Location: Record.LocationName();
|
||||
// - SubDivCode: R.SubDivCode();
|
||||
// - SubDiv: R.SubDivName();
|
||||
// - Continent: R.Continent().String().
|
||||
//
|
||||
// UN-LOCODE attribute remains untouched.
|
||||
func (v *Validator) VerifyAndUpdate(n *netmap.NodeInfo) error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue