frostfs-node/pkg/morph/client/netmap
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
..
add_peer.go [#1513] Upgrade NeoFS SDK Go with changed netmap package 2022-06-17 15:53:18 +03:00
client.go [#625] client/netmap: remove intermediate wrapper 2022-02-08 09:43:54 +03:00
config.go [#1681] morph/netmap: Refactor reading the boolean configurations 2022-10-05 11:41:49 +03:00
epoch.go [#625] client/netmap: remove intermediate wrapper 2022-02-08 09:43:54 +03:00
innerring.go [#625] client/netmap: remove intermediate wrapper 2022-02-08 09:43:54 +03:00
netmap.go [#1793] node: Serve NetmapService.NetmapSnapshot RPC 2022-09-27 09:03:17 +03:00
netmap_test.go [#1513] morph/netmap: Use constant states in unit tests 2022-06-17 15:53:18 +03:00
new_epoch.go [#1141] morph/client: Allow to use more integer types as arguments 2022-05-16 15:09:35 +03:00
snapshot.go [#1513] Upgrade NeoFS SDK Go with changed netmap package 2022-06-17 15:53:18 +03:00
update_state.go [#1680] morph/netmap: Pre-refactor processing of node states 2022-10-05 11:41:49 +03:00