frostfs-node/pkg/services/control
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
..
ir [#1336] go.mod: Update api-go and sdk-go 2024-08-27 14:48:43 +03:00
server [#1317] go.mod: Use range over int 2024-09-03 13:00:54 +03:00
convert.go [#290] control: Use generics for response wrappers 2023-04-28 10:57:24 +03:00
rpc.go [#60] control: Add GetNetmapStatus method 2024-06-20 16:28:42 +03:00
service.proto [#1284] writecache: Allow to seal writecache async 2024-08-09 13:23:35 +03:00
service_frostfs.pb.go [#1343] go.mod: Update api-go 2024-08-30 08:45:24 +00:00
service_grpc.pb.go [#60] control: Add GetNetmapStatus method 2024-06-20 16:28:42 +03:00
types.proto [#1089] control: Add USER and GROUP targets for local override storage 2024-04-16 11:03:50 +00:00
types_frostfs.pb.go [#1343] go.mod: Update api-go 2024-08-30 08:45:24 +00:00