frostfs-node/pkg/services/control
Ekaterina Lebedeva a685fcdc96
All checks were successful
DCO action / DCO (pull_request) Successful in 2m41s
Tests and linters / Run gofumpt (pull_request) Successful in 2m32s
Vulncheck / Vulncheck (pull_request) Successful in 2m38s
Build / Build Components (1.23) (pull_request) Successful in 3m0s
Build / Build Components (1.22) (pull_request) Successful in 3m3s
Pre-commit hooks / Pre-commit (pull_request) Successful in 3m33s
Tests and linters / Tests (1.22) (pull_request) Successful in 3m34s
Tests and linters / Tests (1.23) (pull_request) Successful in 3m36s
Tests and linters / Staticcheck (pull_request) Successful in 3m35s
Tests and linters / Lint (pull_request) Successful in 4m18s
Tests and linters / Tests with -race (pull_request) Successful in 4m20s
Tests and linters / gopls check (pull_request) Successful in 4m25s
[#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