frostfs-node/pkg/morph
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
..
client [#1681] morph/netmap: Refactor reading the boolean configurations 2022-10-05 11:41:49 +03:00
event [#1680] morph/netmap: Pre-refactor processing of node states 2022-10-05 11:41:49 +03:00
subscriber [#1763] morph/event: Write log message about new notification event 2022-09-12 09:53:05 +04:00
timer [#1320] English Check 2022-05-11 10:40:02 +03:00