frostfs-node/pkg/services/control/server
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
..
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