frostfs-node/cmd/frostfs-node/config
Evgenii Stratonikov c98357606b
[#1606] Use slices.Clone()/bytes.Clone() where possible
gopatch:
```
@@
var from, to expression
@@
+import "bytes"
-to := make([]byte, len(from))
-copy(to, from)
+to := bytes.Clone(from)

@@
var from, to expression
@@
+import "bytes"
-to = make([]byte, len(from))
-copy(to, from)
+to = bytes.Clone(from)

@@
var from, to, typ expression
@@
+import "slices"
-to := make([]typ, len(from))
-copy(to, from)
+to := slices.Clone(from)

@@
var from, to, typ expression
@@
+import "slices"
-to = make([]typ, len(from))
-copy(to, from)
+to = slices.Clone(from)
```

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2025-01-17 14:50:14 +03:00
..
apiclient [#772] node: Apply gofumpt 2023-10-31 17:03:03 +03:00
audit [#1184] config: Add audit.enabled parameter for node 2024-06-19 16:05:53 +03:00
container [#1577] node/container: Fix typo 2024-12-28 12:05:01 +03:00
contracts [#934] container: Make container APE middleware read namespaces 2024-02-01 17:38:24 +00:00
control [#772] node: Apply gofumpt 2023-10-31 17:03:03 +03:00
engine [#1532] node: Allow to omit metabase.path if shard is disabled 2024-12-04 03:30:19 +00:00
grpc [#835] grpc: Try to reconnect if endpoint listen failed 2023-12-14 16:38:59 +03:00
logger [#1366] node, ir: Support timestamp config option, update tests 2024-09-17 10:50:08 +03:00
metrics [#772] node: Apply gofumpt 2023-10-31 17:03:03 +03:00
morph [#1375] node: Configure of the container cache size 2024-10-01 14:05:52 +00:00
multinet [#1422] config: Add multinet config 2024-10-17 13:15:08 +00:00
node [#1598] golangci: Enable unconvert linters 2025-01-14 09:06:40 +03:00
object [#1439] object: Sort nodes by priority metrics to compute GET request 2024-10-29 08:05:09 +00:00
policer [#772] node: Apply gofumpt 2023-10-31 17:03:03 +03:00
profiler [#1431] node: Fix comment format 2024-10-15 08:53:59 +00:00
replicator [#772] node: Apply gofumpt 2023-10-31 17:03:03 +03:00
runtime [#537] node: Add runtime.memory_limit config parameter 2023-07-25 17:27:09 +03:00
test [#1459] .golanci.yml: Add tenv linter, fix issues 2024-10-30 15:18:22 +00:00
tracing [#1488] tracing: KV attributes for spans from config 2024-11-12 17:24:43 +03:00
tree [#1449] tree: Add ApplyBatch method 2024-11-12 12:11:07 +00:00
calls.go [#1606] Use slices.Clone()/bytes.Clone() where possible 2025-01-17 14:50:14 +03:00
calls_test.go [#1459] .golanci.yml: Add tenv linter, fix issues 2024-10-30 15:18:22 +00:00
cast.go [#1217] Fix grammar mistakes and misspelling 2024-07-01 19:14:25 +03:00
cast_test.go [#542] Update test for SizeInBytesSafe function 2023-08-01 13:38:00 +00:00
config.go [#772] node: Apply gofumpt 2023-10-31 17:03:03 +03:00
configdir_test.go [#772] node: Apply gofumpt 2023-10-31 17:03:03 +03:00