forked from TrueCloudLab/frostfs-node
e0194dbde5
`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> |
||
---|---|---|
.. | ||
add_peer.go | ||
client.go | ||
config.go | ||
epoch.go | ||
innerring.go | ||
netmap.go | ||
netmap_test.go | ||
new_epoch.go | ||
snapshot.go | ||
update_state.go |