frostfs-node/pkg/services/control/server
Ekaterina Lebedeva a685fcdc96 [#1317] 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 [#937] ape: Validate chain resource name 2024-01-31 11:34:35 +03:00
ctrlmessage [#1092] control: Move SignMessage to separate package 2024-05-16 12:14:01 +03:00
convert.go [#973] node: Resolve perfsprint linter 2024-03-11 17:55:50 +03:00
detach_shards.go [#1092] control: Move SignMessage to separate package 2024-05-16 12:14:01 +03:00
doctor.go [#1092] control: Move SignMessage to separate package 2024-05-16 12:14:01 +03:00
evacuate.go [#1317] go.mod: Use range over int 2024-09-03 13:00:54 +03:00
evacuate_async.go [#1092] control: Move SignMessage to separate package 2024-05-16 12:14:01 +03:00
flush_cache.go [#1092] control: Move SignMessage to separate package 2024-05-16 12:14:01 +03:00
gc.go [#1092] control: Move SignMessage to separate package 2024-05-16 12:14:01 +03:00
get_netmap_status.go [#60] control: Add GetNetmapStatus method 2024-06-20 16:28:42 +03:00
healthcheck.go [#1092] control: Move SignMessage to separate package 2024-05-16 12:14:01 +03:00
helpers.go Rename package name 2023-03-07 16:38:26 +03:00
list_shards.go [#1343] go.mod: Update api-go 2024-08-30 08:45:24 +00:00
policy_engine.go [#1343] go.mod: Update api-go 2024-08-30 08:45:24 +00:00
seal_writecache.go [#1343] go.mod: Update api-go 2024-08-30 08:45:24 +00:00
server.go [#60] control: Add GetNetmapStatus method 2024-06-20 16:28:42 +03:00
set_netmap_status.go [#1092] control: Move SignMessage to separate package 2024-05-16 12:14:01 +03:00
set_shard_mode.go [#1092] control: Move SignMessage to separate package 2024-05-16 12:14:01 +03:00
sign.go [#1092] control: Move SignMessage to separate package 2024-05-16 12:14:01 +03:00
syncronize_tree.go [#1092] control: Move SignMessage to separate package 2024-05-16 12:14:01 +03:00