frostfs-node/cmd/frostfs-node
Evgenii Stratonikov d66bffb191 [#1671] Use max builtin where possible
gopatcH:
```
@@
var d, a expression
@@
-if d < a {
-    d = a
-}
-return d
+return max(d, a)

@@
var d, a expression
@@
-if d <= a {
-    d = a
-}
-return d
+return max(d, a)
```

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2025-03-13 08:12:20 +00:00
..
config [#1671] Use max builtin where possible 2025-03-13 08:12:20 +00:00
accounting.go [#1486] node: Introduce dual service support 2024-11-12 08:43:47 +00:00
apemanager.go [#1506] ape_manager: Await tx persist before returning response 2025-01-09 12:04:21 +00:00
attributes.go Rename package name 2023-03-07 16:38:26 +03:00
cache.go [#1613] morph: Add tracing for morph queries to neo-go 2025-02-05 16:38:20 +03:00
cache_test.go [#1613] morph: Add tracing for morph queries to neo-go 2025-02-05 16:38:20 +03:00
closer.go [#1868] Reload config for pprof and metrics on SIGHUP 2023-02-20 13:53:27 +03:00
config.go [#1667] shard: Drop shard pool 2025-03-11 13:59:51 +03:00
container.go [#1613] morph: Add tracing for morph queries to neo-go 2025-02-05 16:38:20 +03:00
control.go [#1608] qos: Add client grpc interceptors 2025-02-07 15:43:04 +03:00
frostfsid.go [#1613] morph: Add tracing for morph queries to neo-go 2025-02-05 16:38:20 +03:00
grpc.go [#1658] node: Validate RPC limiter configuration 2025-02-28 16:31:47 +03:00
httpcomponent.go [#1437] node: Fix contextcheck linter 2024-11-13 10:36:10 +03:00
keyspaceiterator.go [#1129] policer: Add EC chunk replication 2024-05-16 16:28:48 +03:00
main.go [#1658] node: Simplify RPC limiter initialization 2025-02-28 16:24:33 +03:00
metrics.go [#412] node: Replace metrics package 2023-06-01 13:23:11 +00:00
morph.go [#1506] morph: Simplify WaitTxHalt() signature 2025-01-09 12:04:21 +00:00
netmap.go [#1613] morph: Add tracing for morph queries to neo-go 2025-02-05 16:38:20 +03:00
object.go [#1639] services/object: Remove limiting pools for Put operation 2025-02-28 11:08:09 +00:00
policy_engine.go [#1388] apeSvc: Drop unused and make annotations 2024-09-25 08:55:38 +00:00
pprof.go [#1437] node: Fix contextcheck linter 2024-11-13 10:36:10 +03:00
qos.go [#1653] qos: Fix logging 2025-03-11 10:57:47 +00:00
runtime.go [#1437] node: Fix contextcheck linter 2024-11-13 10:36:10 +03:00
session.go [#1437] ir: Fix contextcheck linters 2024-11-13 10:36:10 +03:00
tracing.go [#1437] node: Use ctx for logging 2024-11-13 10:36:07 +03:00
tree.go [#1608] tree: Add IO tag for tree sync requests 2025-02-07 15:43:06 +03:00
validate.go [#736] logger: Add journald support 2024-02-12 06:17:22 +00:00
validate_test.go [#125] cmd: Refactor internal/common/viper 2023-04-26 13:53:51 +03:00
worker.go [#873] node: Start metrics and pprof as soon as possible 2023-12-21 15:09:51 +00:00