frostfs-node/pkg
Leonard Lyubich e0194dbde5 [#1681] morph/netmap: Refactor reading the boolean configurations
`readBoolConfig` method is going to be reused for reading other
configuration values. All boolean settings are `false` by default, so it
makes sense to return default value on missing key directly from
`readBoolConfig`.

Handle `ErrConfigNotFound` case in `readBoolConfig` method. Change
`HomomorphicHashDisabled` method to call `readBoolConfig` directly.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-10-05 11:41:49 +03:00
..
core [#1817] network: Allow to use network addresses from the iterator 2022-10-04 12:12:18 +03:00
innerring [#1681] ir/netmap: Require MAINTENANCE mode to be allowed by network 2022-10-05 11:41:49 +03:00
local_object_storage [#1809] node: Do not boot up if metabase is outdated 2022-10-04 12:32:10 +03:00
metrics [#1658] metrics: Add object type label to the counters 2022-09-13 21:32:37 +04:00
morph [#1681] morph/netmap: Refactor reading the boolean configurations 2022-10-05 11:41:49 +03:00
network [#1817] network: Allow to use network addresses from the iterator 2022-10-04 12:12:18 +03:00
services [#1817] network: Allow to use network addresses from the iterator 2022-10-04 12:12:18 +03:00
util [#1687] *: Perform go fmt using go v1.19 2022-08-22 18:59:57 +03:00