frostfs-node/cmd/frostfs-adm/internal/modules/morph
Ekaterina Lebedeva a685fcdc96 [] go.mod: Use range over int
Since Go 1.22 a "for" statement with a "range" clause is able
to iterate through integer values from zero to an upper limit.

gopatch script:
@@
var i, e expression
@@
-for i := 0; i <= e - 1; i++ {
+for i := range e {
    ...
}

@@
var i, e expression
@@
-for i := 0; i <= e; i++ {
+for i := range e + 1 {
    ...
}

@@
var i, e expression
@@
-for i := 0; i < e; i++ {
+for i := range e {
    ...
}

Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
2024-09-03 13:00:54 +03:00
..
ape [] adm: Interpret "root" name as empty for namespace target type 2024-07-29 12:57:40 +00:00
balance [] adm: Fix error handling when contract not found 2024-07-02 13:03:40 +00:00
config [] adm: Fix error handling when contract not found 2024-07-02 13:03:40 +00:00
constants [] adm: Move defaults for NNS to package constants 2024-02-28 18:57:16 +00:00
container [] adm: Fix error handling when contract not found 2024-07-02 13:03:40 +00:00
contract [] go.mod: Use range over int 2024-09-03 13:00:54 +03:00
frostfsid [] adm/frostfsid: Remove wallet requirement for list-* 2024-07-11 14:04:37 +00:00
generate [] .golangci.yml: Replace exportloopref with copyloopvar 2024-08-28 15:44:41 +00:00
helper [] go.mod: Use range over int 2024-09-03 13:00:54 +03:00
initialize [] go.mod: Use range over int 2024-09-03 13:00:54 +03:00
netmap [] adm: Fix error handling when contract not found 2024-07-02 13:03:40 +00:00
nns [] adm: Fix error handling when contract not found 2024-07-02 13:03:40 +00:00
node [] adm: Fix error handling when contract not found 2024-07-02 13:03:40 +00:00
notary [] node: Resolve perfsprint linter 2024-03-11 17:55:50 +03:00
policy [] Fix grammar mistakes and misspelling 2024-07-01 19:14:25 +03:00
proxy [] adm: Fix error handling when contract not found 2024-07-02 13:03:40 +00:00
root.go [] adm: Add commands to manipulate with NNS contract 2024-02-28 18:57:16 +00:00